Post by bruce » Sun Aug 10, 2008 9:59 am

I have sent you an email with a complete version. It does need testing before I will release it as a contribution though.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by kellen » Sat Aug 16, 2008 4:33 am

Bruce,
I tested the improved version that you emailed me...
It seems to be creating two orders....
One with status: Paid Unconfirmed
and then another with status: Pending
I'm not sure exactly that the code is doing, because I'm not that far along with my php learnings yet, but I think its safe to assume that its creating the order, sending the info to paypal, then creating a new order with status pending when the IPN callback comes through.
Could you post a fix please?

Thanks for all your help, by the way.

Thought that I would add that the order numbers are the same...
here:

25  48A5E-63ADF-4CE82  Test Mc Testerson  Paid Unconfirmed  15 August 2008  $23.95
26 48A5E-63ADF-4CE82 Test Mc Testerson Pending       15 August 2008 $23.95
Last edited by kellen on Sat Aug 16, 2008 4:40 am, edited 1 time in total.

Newbie

Posts

Joined
Wed Aug 13, 2008 8:28 am

Post by kellen » Sat Aug 16, 2008 5:08 am

Nevermind Bruce,
Problem solved.
Heres some infro:

1: It works great! No problems found.
2: In order for customers to be able to use either paypal accounts, or credit cards through paypal with no account, the following settings must be modified in the paypal profile.
2a: IPN Notification must be enabled, however, DO NOT put in a URL to anything, just leave it completely blank.
You guys probably already knew this, but I'm posting it for n00bs like me :-p

This solved the problem of multiple orders. And, both credit card transactions, and paypal transactions are processed as pending after payment is complete.

Thanks again bruce for the great contribution. I'm going to do a live test and see if the same results hold true. If not I'll modify this post with findings.

[Added]: After live testing:
So it looks like everything works fine.
It does get a little angry with repetitive orders. If you don't close the browser/log out before another order, the dual order situation occurs (see previous post).
Other than that I am not able to find any problems.
Last edited by kellen on Sat Aug 16, 2008 5:33 am, edited 1 time in total.

Newbie

Posts

Joined
Wed Aug 13, 2008 8:28 am

Post by trippy » Sun Sep 21, 2008 7:01 pm

hallo everybody! I'm here again for the ticklish question of paypal - I've used the paypal improved 1.0 but with the paypal.php file bruce posted on July 15, 2008, 01:26:09 PM (http://forum.opencart.com/index.php/top ... ml#msg6772)

it seems to work and this is great :)

The only think i've noticed is that, if I log in as a customer, I find the product still in the cart, as if it was not ordered yet.
This could be a problem for an abstracted customer that risks to order two times the same product....
Do you have the same problem?

Thank you

New member

Posts

Joined
Sun Dec 16, 2007 5:12 pm
Who is online

Users browsing this forum: No registered users and 4 guests