Jetpack: Simple Payments: payment value not passed to Paypal

Created on 16 Jan 2020  路  9Comments  路  Source: Automattic/jetpack

Looks like something's broken in the communication between Simple Payments and Paypal.
User first reported that they couldn't select more than 2 items of a Simple Payments item that had "Allow people to buy more than one item at a time." selected, then I observed the Paypal pop-up consistently disappearing when attempting to make a purchase.

Steps to reproduce the issue

  1. Go to https://take2adventure.com/holiday-clubs/
  2. Select a Simple Payments item to buy, click on Purchase
  3. See the Paypal pop-up appear, then disappear.

What I expected

The Paypal pop-up should allow me to complete the transaction

What happened instead

Not that.

There are console errors indicating the amount due was not passed through to Paypal, so I guess the connection is timing out, which is why the pop-up disappears.

Tested in Chrome and Firefox, same result in both. Tested in incognito windows, in case of cookies, same result.
ETA: also tested both the block, and in the Classic Editor - same result.
Replicated the error on another Simple site, and an AT BIZ site. (side note: Simple Payments purchase button is broken due to the AMP plugin as well, I had to set my AT site AMP to "transitional" for the button to show).

Screenshots
Video showing the console errors and disappearing pop-up: https://d.pr/v/DBoixa
Recording of the AT site: https://d.pr/i/ZHQEJx

simplepaymentsconsoleerrors

The errors in the console (summarised list):

  • ppxo_no_token_passed_to_payment
  • ppxo_unhandled_error
  • Uncaught Error: Error: No value passed to payment

I saved the log file of the console as well, for more detailed info:
consoleerrors.log

Pay With Paypal [Block] Pay With Paypal [Pri] High [Type] Bug [Type] Happiness Request

Most helpful comment

While we were having PayPal API outage issues last week, it appears that many of these errors might be resolved by the users logging into their PayPal accounts to unrestrict their accounts.
See p1579543712021200-slack-C096PD42U for additional information.

All 9 comments

I was able to reproduce in Chrome but not in Firefox.

I wonder if this may be caused by the upcoming x-domain cookie changes. It seems worth looking into.

Internal reference: pb6Nl-daR-p2#comment-92471

Simple Payments purchase button is broken due to the AMP plugin as well, I had to set my AT site AMP to "transitional" for the button to show

Yes, the feature is not compatible with AMP yet: #9730

I was able to reproduce in Chrome but not in Firefox.

I realised I forgot to include my version info!
OS: Mac Mojave 10.14.6
Firefox: 72.0.1
Chrome: 79.0.3945.117

Preliminary debugging says it is something on our servers and has nothing to do with cookies, iframes, etc.
PayPal API stopped giving sane responses and it may be connected to IMMENSE PayPal service availability problems we have been seeing in Neutron.

We have investigated the logs and are in touch with PayPal to get this resolved as quickly as possible

I have another report here: 2641857-zen (discussion here: p1579295540011700-slack-C096PD42U )

Another report pNPgK-4Uw-p2

While we were having PayPal API outage issues last week, it appears that many of these errors might be resolved by the users logging into their PayPal accounts to unrestrict their accounts.
See p1579543712021200-slack-C096PD42U for additional information.

Closing this now, as per the above ^

Was this page helpful?
0 / 5 - 0 ratings