Totally stuck with getting Paypal Website Payments Pro working

Posts: 51
Joined: 10/20/2007

Can someone point to what's currently the definitive set of docs for getting Paypal Website Payments Pro working with Ubercart? I've read through everything I can find on the site and there seem to be conflicting recommendations for things like the return URL.

Currently, with the sandbox, there's an error that the invoice has already been paid. Testing this live, the payment goes through, we get no IPN message in watchdog, and the order status is set to pending instead of complete.

We've tried changing just about every setting at one point or another, based on different docs/comments here in the forum. Are the return URL and IPN supposed to be enabled or not on Paypal's end?

Our setup is working with another payment method, the Moneris gateway for CC processing.

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

You don't need to do anything w/ the IPN settings on the PayPal side to get PayPal WPP working - and there's no need for a return URL since payment are being processed through your own site. If it's saying an invoice has already been paid, that's because PayPal figures you've already paid for an order w/ that order ID. This is poor on PayPal's part, imo, and it may demand a bit of a rework to include a unique timestamp w/ payment requests or something.

In any event, I'm not sure why an IPN message wouldn't be coming through. Puzzled Also, it's hard to speak to the order status w/o knowing what your workflow configurations are setup to do.

Posts: 1
Joined: 03/31/2008
Cool profile pic award.

Ok, I'll step in here. I'm the guy who's working on Steph's Paypal configuration. She can back me up on this (as can the many empty bottles of tequila).

I'll try and spit out everything you might possibly need to know, and if you need to know more, just let me know.

admin/store/settings/payment/edit/methods
PayPal Express Checkout settings - Disabled
PayPal Website Payments Standard settings
PayPal e-mail address: [filled out]
Currency Code : USD
PayPal Login language: US (misnomer, don'tcha think?)
PayPal Server : Live
Payment action : Complete Sale
PayPal cart submission method: Submit the whole order as a single line item
Shipping address prompt in PayPal: Do not show shipping address prompt at PayPal.
Submit address information to PayPal to override PayPal stored addresses. [checked]
Sent address selection: Send billing address to PayPal.
Show debug info in the logs for Instant Payment Notifications. [checked] (not that it's helping)

admin/store/settings/payment/edit/gateways
PayPal Website Payments Pro settings
Enable this payment gateway for use. [checked]
Currency Code: USD
API Server: Live
Payment Action: Complete sale
API Credentials
[all filled out just fine, double checked and everything]

admin/workflow-ng/configurations
Update order status on full payment
This rule is active and should be evaluated when the associated event occurs. [checked]
Weight: 0
This is the only active rule

If anything jumps out at you, please feel free to thump me and say "No, dumbass, you're supposed to set X to Y!" - where X set to Y makes everything work.

Also, if there's anything else you need form me, let me know that too, and I'll get it for you. There's so much stuff in the actual Paypal site, that I figured instead of typing it all out here, I can wait until someone tells me they need more info.

Thanks in advance, man.

-Spaz

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I guess mainly I just need confirmation on what's actually not working. Are you trying to get Website Payments Standard or Pro to work properly? Standard is the redirected service where you pay through PayPal.com.

Posts: 51
Joined: 10/20/2007

We have a Pro account, which says you can do it either way -- redirect through PP or on-site.

I think this is where the confusion might be. Pro shows as a payment gateway while Standard shows as a payment method. Any clarity there? We already have Moneris.com set up as a gateway for CC processing, does this mean we need to somehow add another credit card method and use the PP Pro gateway for that?

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

PayPal Website Payments Pro is a credit card gateway that would be used in lieu of Moneris I believe. If you're just wanting to use the WPP redirected service, that's actually called PayPal Express Checkout. They aren't doing anyone any favors with their terminology. Eye-wink

We have Express Checkout in Ubercart designated as a payment method, and it depends on your WPP settings. I know it's quite the runaround, but there wasn't much to do about it. Also, there's a cart pane you can enable to show the Express Checkout button like we do on http://livetest.ubercart.org/cart.

Posts: 51
Joined: 10/20/2007

Ok, so what the heck is Standard then? Isn't Express Checkout just the extra checkout button that goes onto the form? I think Standard must be what we're wanting then -- using the UC checkout form/button, but then sending them over to PayPal. So there is no gateway supposed to be set for Standard?

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Right, Standard is the redirected payment method where you go into your checkout, choose PayPal as a payment method, and then get redirected to PayPal for payment.

Express Checkout bypasses the normal checkout altogether and requires the customer to have a PayPal account to complete payment.

Posts: 51
Joined: 10/20/2007

Hey Ryan, yep, it was Standard we wanted all along. SO confusing. I ditched the Pro account and we got things sorted out. Thank you!