-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible bug in PayPal Express #145
Comments
I saw DavidB post. |
I possibly changed something after your last PR, something to do with "Token_id" if I remember correctly, but it has been a while ... Would it be possible for you to create a new PR with your last known good version? FYI, I have also published a patch with the old PP Express v1.8.4 version, but I don't really want to commit that if we can find an answer. |
I visualy compared catalog controler PP Express v1.8.4 with mine current line by line but saw nothing important, the code is better in recent version dealing with possible functions failure.
refer to $this->session->data['paypal'] not defined in function checkoutReturn(). |
I found a "$paypal_fee_fee" not defined in .tpl |
Yes, "$paypal_fee_fee" is a "Total" extension, to add an extra fee for customers choosing any one of the Paypal payment options at Checkout. It only adds to the total amount to pay and shouldn't affect the processing. I had a look at both call() functions in the Model files, Admin vs Catalog, and they are indeed different. Do you know which one is the good one and which one needs updating? I am going to investigate on my side, comparing with OC main code. |
Added INR currency and minor code updates - no fix yet
OC v3.1.0.0b seems to be using 2 different version in Admin and in Catalog, 84 and 109 respectively. |
The good call() is in admin, it returns false when curl fails so that it is tested in controller If someone can explain me the real utility of RESEND button and call_data ?? |
I searched in closed pull requests and effectively I did a commit 331d107 for new Paypal Express but my changes in the catalog part seem have been all overwrited by old version. |
I don't remember making such big changes in the Catalog. I probably made some minor code standards adjustments but not changing an entire function like $call(). Any chance you could make a new PR? or send me your files so I can commit them back myself. Regarding the RESEND button, yeah, that's weird because browser generally don't like that, and this is also potentially unsafe. No idea why it is in there. |
I can do a new pull request starting from 331d107 and comparing but it will take some time as i go slowly on spare time. |
For the moment i get an SSL error with github connexion |
Solved by upgrading git for windows from 1.9.5 to 2.10.0. But I am limit of windows xp. Need win 7 but too long to prepare. |
Thank you for your efforts. they are much appreciated. |
So i inspected PPExpress and only saw the catalog call() which should be rewritten as the admin call() |
Call() function updated in catalog as possible fix. ... needs testing.
Seems recurring payment doesnt work in OC PPExpress: opencart/opencart#5084 |
I have read the Paypal NVP code in OC deeply and i can tell that all errors reported by merchants do not surprise me. The code is approximative, not bullet proof, taken from a free extension which has not been updated since long time. The transaction view is incomprehensible with a formatRow() function comming from transaction search. The resend is idiot. They added a debug field to trace hazardous response. And nobody at OC cares about the code since 1.5.6 at least as it has not changed. |
It has been reported in the Forum that an issue could exist in PayPal Express payment.
Reference: http://forum.villagedefrance.net/showthread.php?tid=14&pid=98#pid98
DavidB had no issues with it in v1.8.4 but PP Express has been updated since.
I will investigate but I am unable to test it.
@gob33 Do you have a working version? Any chance you could have a look at this for us?
The text was updated successfully, but these errors were encountered: