Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal Express skipping Confirmation Page


Shadow-Lord

Recommended Posts

not with express, does it not come nack to your store then go to the checkout confirmation?

 

Hi,

 

Yes it does come back to the store, but it goes to the Checkout Success page.

The Customer never sees the Checkout Confirmation page.

Link to comment
Share on other sites

Hi..

 

It's a feature of the PayPal Express Checkout module. The customer already confirms their order at PayPal so they do not need to confirm it again a second time returning back to the shop.

 

Kind regards,

 

Hi Harald,

 

Is there anyway to change this, so that it goes to Checkout Confirmation page, then on to PayPal.

 

Thanks

Link to comment
Share on other sites

In includes/modules/payment/paypal_express.php, change pre_confirmation_check() to:

 

   function pre_confirmation_check() {
     global $HTTP_GET_VARS, $order, $ppe_token;

     if (!tep_session_is_registered('ppe_token')) {
       tep_redirect(tep_href_link('ext/modules/payment/paypal/express.php', '', 'SSL'));
     }

     if (!isset($HTTP_GET_VARS['do'])) {
       $response_array = $this->getExpressCheckoutDetails($ppe_token);

       if (($response_array['ACK'] == 'Success') || ($response_array['ACK'] == 'SuccessWithWarning')) {
         tep_redirect(tep_href_link(FILENAME_CHECKOUT_CONFIRMATION, 'do=confirm', 'SSL'));
       }
     }
   }

 

Kind regards,

:heart:, osCommerce

Link to comment
Share on other sites

This might also work somewhat better:

 

   function pre_confirmation_check() {
     global $ppe_token;

     if (!tep_session_is_registered('ppe_token')) {
       tep_redirect(tep_href_link('ext/modules/payment/paypal/express.php', '', 'SSL'));
     }
   }

 

Kind regards,

:heart:, osCommerce

Link to comment
Share on other sites

Ok, you're after something else because that will change how Express Checkout works. You should try the PayPal Website Payments Standard module.

 

Kind regards,

 

Will PayPal Website Payments Standard module, work similar to the express checkout.

 

Will it return the customer to the shop.

And will it update the order process in the admin section.

 

Thanks,

Link to comment
Share on other sites

Hi,

 

I have tried paypal website payments standard, but when the customer pays, it does not automatically return the customer to the checkout success page.

 

They have to click the return to site button on paypal to get to it.

 

If they don't click it no emails are sent.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...