Jump to content

Remove the "Choose your payment method"


Jimbola

Recommended Posts

Hi all,

 

In my shop there is only one payment method, PayPal, so I would like to skip the "Choose your payment method" screen. I know I can change the link from the order-carrier screen directly to PayPal submit, but a lot of my items are free. So I need it to decide what to do (history if free or paypal if paid).

 

Does anyone know how I can do this?

 

All help is appreciated.

 

 

J

Link to comment
Share on other sites

  • 4 weeks later...

I finally find something:

 

In order-carrier.tpl find this line :

<form id="form" action="{$link->getPageLink('order.php', true)}" method="post" onsubmit="return acceptCGV();">

 

and replace by :

<form id="form" action="http://www.mywebsite.com/modules/paypal/payment/submit.php" method="post" onsubmit="return acceptCGV();">

 

And now when you click next you directly jump to the paypal confirmation.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...