Jump to content

V4.2.0 upgrade problem - PayPal Pro and PayPal Direct


Guest

Recommended Posts

I can't touch it, I'm only on php5.2, and my host hasn't any plans of upgrading anytime soon.

As a stab in the dark - What's your php version?

My PHP version is 5.2.4, so I'm ok there.

Link to comment
Share on other sites

I just upgraded to 4.2 and I am having the same problem with Paypal Pro Direct payment.

Once you get to the final step, it tells you your shopping cart is empty. Paypal Pro Express Checkout works just fine.

I have php 5.2.4 so everything is good on that front. I'll submit a bug report.

Link to comment
Share on other sites

Guest hairfreax

I have just, the bug has been submitted since the 25th Feb. This advice is on the pinned section, but the bug tracker (which would be the most helpful) does not show the edits on both the 'bugs' submitted.

CHECKOUT

Website Payments PRO (PayPal PRO) Empty basket

Solution:

OPEN includes/content/gateway.inc.php

SEARCH FOR

CODE

if(!$basket && isset($_GET['cart_order_id']) && isset($_POST['gateway']) && !preg_match('#[^0-9a-z\-\_\s]+#i', $_POST['gateway'])){

REPLACE WITH

CODE

if(!$basket && isset($_GET['cart_order_id']) && isset($_POST['gateway']) && !preg_match('#[^0-9a-z\-\_\(\)\s]+#i', $_POST['gateway'])){

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...