After making the switch from MoneyScripts to MoneySuite, we encountered issues with recurring Paypal purchases using Paypal WPS. The purchase would never seem to complete and the user would be left looking at the spinning gif on the payment page.
It turns out, after much investigation, that MoneySuite was looking for a field called mc_amount3 in the IPN notification. That field, however, was missing. Therefore, the incoming amount was reported as zero, the IPN value didn't match the order value and the IPN failed validation.
I've patched MoneySuite to allow for the field that _was_ present: mc_gross, in addition to the existing fields. I'm attaching a patch.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2878458_paypal_ipn_mc_gross_field.patch | 1.35 KB | anthonylindsay |
Comments
Comment #2
anthonylindsay commentedComment #3
hockey2112 commentedHi anthonylindsay, I tried your patch but I am still receiving the the never-ending "Your order is being processed. Please allow up to 2 minutes for this process to complete. Thank you for your patience." message. In Firebug, I see this error occurring again and again:
Any ideas on how I can fix this? Thanks!
Comment #4
vaccinemedia commented@hockey2112 can you apply the patch here: https://www.drupal.org/node/2730149 and let me know if this fixes the issue? It's probably hanging because validation isn't passing. After applying the above Paypal works with single payments where it wasn't before.
Comment #5
Farreres commentedI am not yet applying this patch as some because there was no reply confirming the patch corrects the issue.
Comment #6
kebne commentedSeems like this patch found its way into the repos? But both the line which should be replaced and the new line is existing in both the current version and the dev:
Comment #7
Farreres commentedPatching as soon as it is marked as Reviewed & tested by the community.
Comment #8
zorbtrauts commentedI'm running into this issue, as well. Does this patch need to be tested or is it being committed?