Forums / Built-in Shipping and Payment Modules / Paypal IPN Checkout & GV Error

Paypal IPN Checkout & GV Error

Locked

Views: 5,801

Results 21 to 37 of 37
This thread is locked. New replies are disabled.
10 Aug 2008, 1:55 PM
#21
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Paypal IPN Checkout & GV Error

I did that and tested it again.

It seems like the error occurs when you click to return to the site after payment rather than wait for it to redirect you (from paypal).

You know how after you make your payment, it says "if you are not redirected within 10 seconds, click here" ?

Well, if you wait the 10 seconds, you are directed to the checout_success page like it should do. But if you click to go back (for those who are impatient) that's when they get sent back to the checkout_payment page with the nasty red message.

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

11 Aug 2008, 1:55 PM
#22
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

Any idea why those who are "clicking" to go back after their order are being redirected to the checkout_payment page?

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

11 Aug 2008, 3:53 PM
#23
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,678
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

Is the whole balance covered by the Gift Certificate or only part of it?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

11 Aug 2008, 4:18 PM
#24
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

Kim:

Is the whole balance covered by the Gift Certificate or only part of it?

They are redeeming the full amount of the GC, but it only covers part of the total cost (partial payment is still due).

When/if the whole amount is covered by the GC, they don't make their way to paypal, they go right to my checkout_success page.

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

12 Aug 2008, 9:17 PM
#25
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

Any more ideas?

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

12 Aug 2008, 10:53 PM
#26
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,927
Plugin Contributions:
3

Re: Paypal IPN Checkout & GV Error

Hi,

We have managed to reproduce this on 1 test server. However on another test server it never happens.

The main problem, is that it is intermittent. Even on the test server where the problem occurs, it does not happen for every transaction.

We are still testing.

13 Aug 2008, 9:21 PM
#27
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

For my shop it happens with every order involving a GC.

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

19 Aug 2008, 3:54 AM
#28
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

wilt:

Hi,

We have managed to reproduce this on 1 test server. However on another test server it never happens.

The main problem, is that it is intermittent. Even on the test server where the problem occurs, it does not happen for every transaction.

We are still testing.

Any more progress on this?

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

21 Aug 2008, 2:07 PM
#29
papilionaceous avatar

papilionaceous

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

I have just signed up to the forum as I also have exactly this gv/paypal issue with a brand new store installation.

The slight possible variation I have is that I have 'account creation optional' in paypal so it doesn't auto return after completing payment but gives the option to create an account. Return to site is a click button option - click the button and it goes back to the warning message as described in this thread (when part payment by gv has been made).

Just to lay that out fully:

order without gv: go to paypal, enter card details, complete transaction, don't register for account, click return to site, get back to the thank you page

order with part payment by gv: go to paypal, enter card details, complete transaction, don't register for account, click return to site, get the step 2 red banner

I haven't made any modifications other than to appearance and haven't added any modules

21 Aug 2008, 2:14 PM
#30
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

And I have "auto return" set to "on" and it's still giving me this message (so it can't be that).

I've even had it tested out where they wait the 10 seconds to be returned automatically, and also to "click here" to be returned if they don't want to wait.

BOTH options are sending them pack to page 2 with the error message.

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

21 Aug 2008, 2:58 PM
#31
papilionaceous avatar

papilionaceous

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

just to clarify:

I also have auto return set to on, but if create account is optional then this over rides the auto return.

From paypal:
"Note: If you have enabled Auto Return and have chosen to turn on PayPal Account Optional for new users, a new user will not be automatically directed back to your website, but will be given the option to return."

24 Aug 2008, 5:00 PM
#32
bigmom avatar

bigmom

New Zenner

Join Date:
Oct 2007
Posts:
12
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

Has anyone gotten anywhere with this? I have the EXACT same problem :( I just installed the GC mod and did my own test order - and lo, I've been sent back to Page 2 of checkout with the same red error message.

29 Aug 2008, 2:05 PM
#33
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

I'm still looking for a solution to this aswell?

Anyone?

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

8 Sep 2008, 2:04 PM
#34
ymbd avatar

ymbd

New Zenner

Join Date:
Aug 2008
Posts:
41
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

Has anyone been able to figure this out yet? Please?

Catherine
YMBD Scrapbooking
www.yourmemoriesbydesign.ca

10 Sep 2008, 10:14 AM
#35
papilionaceous avatar

papilionaceous

New Zenner

Join Date:
Aug 2008
Posts:
3
Plugin Contributions:
0

Re: Paypal IPN Checkout & GV Error

Haven't turned up anything here either - I just have GV disabled for now, would be nice to get it working before Christmas!

12 Sep 2008, 11:35 AM
#36
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,927
Plugin Contributions:
3

Re: Paypal IPN Checkout & GV Error

Hi,

Sorry for the delay in replying, as I mentioned earlier, we have been having difficulty replicating the bug.

However, with the aid of Catherine of yourmemoriesbydesign.ca, we have now identified the problem.

I'm hoping to have a fix for the problem asap.

12 Sep 2008, 5:59 PM
#37
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,927
Plugin Contributions:
3

Re: Paypal IPN Checkout & GV Error

Hi,

The problem occurs because the IPN callback from paypal already contains code, for handling Gift Vouchers. As such the checks that are made for customers returning from paypal are superflous (and of course incorrect) although necessary for other payment methods.

The fix is fairly simple for those using paypal.

You will need to edit your /includes/modules/checkout_process.php file and at approximately line 54 you will find this piece of code

    $order_totals = $order_total_modules->pre_confirmation_check();  

this should be amended to

  if (strpos($GLOBALS[$_SESSION['payment']]->code, 'paypal') !== 0)
  {
    $order_totals = $order_total_modules->pre_confirmation_check();  
  }