I've been trying to implement WPP (UK) with Ubercart 6.x-2.2 with my WPP sandbox gateway.
I can confirm that paypal is taking the money (both drupals logs confirm this and my paypal sandbox account) but no recurring payment is being setup (confirmed in PayPal account).
The error I am getting is
"Your order cannot be completed, because we could not process your recurring payment. Please review your payment details and contact us to complete your order if the problem persists."
Am available on irc.freenode.net in #drupaluk #drupal and #drupal-ubercart to discuss further or via this issue.
Comments
Comment #1
didlix commentedOn the order history:
[4371] Recurring Payment Setup Failed.
Error: 10004: Invalid argument
Which I understand to be a internal paypal error *goes to check*
Comment #2
univate commentedI have found that paypal sandbox does not support everything the real paypal does, atleast in the case of WPS you can't test subscriptions.
Comment #3
that0n3guy commentedUnivate, I have been testing uc_recurring w/ sandbox for months now and not had any problems (on the paypal side).
Comment #4
univate commentedSo does Paypal sandbox now support Paypal WPS subscriptions? lasted time I tried (probably 6 months ago) it didn't work, while the same code on the live Paypal system did work.
I was just mentioning this as any issue I have experienced with paypal's sandbox, incase that was possibly the issue here?
Comment #5
ethr commentedMake sure you have DPRP enabled here is a good thread on setup
https://www.x.com/message/180945
Comment #6
univate commentedAssuming that was the issue?
Comment #7
developer-x commentedI had the same problem and was able to fix it - I'm going to submit a patch - but for a quick hack to get it working, do the following:
1. Goto /ubercart/payment/uc_paypal/
2. Open uc_paypal.module
3. In function uc_recurring_paypal_wpp_process, on line 640, change 'VERSION' => '3.0" to 'VERSION' => '6.0'
Hope that helps
- x
Comment #8
webchickHm. I'm also having problems. Here's what I've done so far:
- Followed the directions at https://www.x.com/docs/DOC-1379 to create a Paypal sandbox.
- Created a test customer with a $500 balance, and a test business owner (a "website payments pro" type).
- Copy/pasted my API info from Paypal into Ubercart's payment settings.
- Under Payment settings, told it to use a CC gateway of "PayPal Website Payments Pro", and marked Credit card (paypal_wpp) as a valid payment type under the Recurring Payments tab.
- Changed my test user's e-mail address to the one for the customer in Paypal.
- Created a "subscription" product class, and added recurring payments of $50.00/day (to ease in testing), a role assignment, and http://drupal.org/project/uc_atctweaks to empty cart before adding the product, + redirect to checkout page.
- Created a subscription product node.
- Clicked "Add to cart" on the product node.
- Fill out
some dummy CC info (4111111111111111 - found at https://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card...)the exact e-mail, credit card #, and expiration date of the "customer" test account in the Paypal sandbox, and clicked "Submit".- Got to the review screen, I try and click "Submit order", but I get:
"We were unable to process your credit card payment. Please verify your card details and try again. If the problem persists, contact us to complete your order."
Any ideas on which of the 11,000 steps I might've missed here? ;) And/or debugging tips?
EDIT: Oh. And I also tried changing the Paypal API version per #7, but to no avail.
EDIT: Updated customer test instructions.
Comment #9
webchickOh. Hm. In my case though, payment isn't taken. At least I don't think so. My test customer's account balance remains at $500, and there is nothing under the "Test email" tab in the sandbox to point at any transaction, failed, passed, or otherwise...
Comment #10
cwithout commentedI was having this issue with WPP. Then I started wondering where the recurring payments were being handled for WPP. So decided to try enabling the Recurring - Hosted Gateways module even though it only says it's for Authorize.net ARB and Paypal WPS. It's now working in the sandbox. Apparently WPP requires Recurring - Hosted Gateways as well, even though it doesn't say it's used for WPP.
Comment #11
lookatyeti commentedwebchick - are you on a localhost? I don't think that Paypal will return payment information to a localhost instance (even the paypal sandbox), could be wrong, but might help
Comment #12
webchickYeah, that was definitely at least one of my problems. :\ I had to set up a http://www.dyndns.com/ account so that I could talk to PayPal.
Comment #13
eric.chenchao commentedsubscribe