Forums / Setup & design / Important: Setting up a shipment gateway

Important: Setting up a shipment gateway

Author Message

christian bencivenni

Monday 03 December 2007 2:41:07 am

Hi to you all.
I'm finally finishing to setting up a ezPaypal ecommerce gateway with an operative shipping handler.
Right now very important was this topic: http://ez.no/developer/forum/general/shipping_in_ezp_3_8
with a lot of specific.

Now I have a FINAL PROBLEM which required your help.

I configured all the steps of the topic. When a user made a checkout eZ Publish open a confirmation page and after it directly the paypal sandbox.
I need a in-the-middle step too: BEFORE the Paypal redirect but AFTER the Confirm order I must permit the user to choose if the payment is Paypal OR a Manual bank cash payment.In both cases the order must be cofirmed but only in the first one the Paypal redirect must work.

I know that the redirect is proceeded through the checkout/before trigger.

Someone can tell me a way to check in the confirmorder.tpl the payment method and how to able or disable the trigger inside the template?

Please it's very important.

Thank you in advance.

christian bencivenni

Monday 03 December 2007 8:49:41 am

No one can help me?

Substantially I need to create a CONDITIONAL TRIGGER.

If the use choose manual payment it only confirm order
if the user choose paypal it start with usual payment gateway workflow.

Someone have any idea?

christian bencivenni

Wednesday 05 December 2007 12:32:24 am

No one can help me?
Ok.
I hoped someone can have a different idea but...
I think to work in this way:

1. create a new trigger called, for example, Newone
2. remove paypal payment from checkout/before trigger
3. add the Paypal payment to the Newone trigger
4. add in the confirmorder page a info box with the two ways of payment
5. add in the confirm order page a button with value="Paypal" and action ="newone trigger"

I think that by this way the order will be always confirmed and, if the user want to pay with paypal, he can choose the redirect to paypal site with the button.

Do you think is correct?
Any idea about make it?

Pascal Specht

Wednesday 05 December 2007 5:02:26 am

Hi Christian,

Did you see this topic, it may help you, I guess:

http://ez.no/developer/forum/developer/payment_gateway_depending_on_shopaccounthandler_selection/re_payment_gateway_depending_on_shopaccounthan__2

</Pascal>

christian bencivenni

Thursday 06 December 2007 1:04:01 am

YES!
It's exactly what I'm searching for.
But I still have a doubt: if I need to create a Choose template where user can choose the payment method where I must place it? And how?