Debugging UNILATERAL payment pending in Paypal

Created on 20 September 2024, 2 months ago

Problem/Motivation

When testing with our Sandbox, commerce doesn't complete the transaction, and in Watchdog I can see

> The PayPal payment is pending. Reason: UNILATERAL.

But with other sandbox accounts it works.

I am finding it hard to see the difference between the test Business accounts, but this feels where the issue is.

Steps to reproduce

Not yet sure, we only noticed this when upgrading paypal, and new sandbox accounts appear fine, but we are concerned with deploying the change without understanding why this is happening.

Proposed resolution

Hopefully this is just documentation/education, I guess my accounts are setup wrong, but I don't know what they should be like to know what I have done wrong. Other links have talked about the below:

- Business account is missing a currency (I think ours is set to GBP from what I can see)
- Email address is not verified (these are test accounts, so I don't believe we need to verify them do we?)
- Wrong paypal account (I setup a new Personal account in the same account as the business one, and still got the error)

I am guessing there is a 4th possibility out there, and I just need to find out what it is, so if anyone has any tips that would be greatly appreciated.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Documentation

Created by

🇬🇧United Kingdom retrodans

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @retrodans
  • 🇬🇧United Kingdom retrodans

    To note, in our sandbox account, if I created a brand new business user, and then a brand new app for that user, it works. So there is something wrong with the app/user rather than this module. But I think the feedback from the module could help with debugging it.

Production build 0.71.5 2024