Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I dont understand why this error happed: OrderContext is in an invalid state #259

Open
powerzd opened this issue May 28, 2024 · 0 comments

Comments

@powerzd
Copy link

powerzd commented May 28, 2024

PayPal Android SDK Version

1.3.0

Environment

Sandbox

Android Version & Device

Any device

PayPal dependencies

com.paypal.android:paypal-native-payments:1.3.0

Describe the bug

15:18:36.867 nxoOrderContext D OrderContext is in an invalid state: OrderContext(orderId=6MN107053U5186747, captureUrl=https://api.sandbox.paypal.com/v2/checkout/orders/6MN107053U5186747/capture, authorizeUrl=https://api.sandbox.paypal.com/v2/checkout/orders/6MN107053U5186747/authorize, patchUrl=https://api.sandbox.paypal.com/v2/checkout/orders/6MN107053U5186747)

To reproduce

  1. call paypal sdk in Page A,everything is OK
  2. cancel payapl, then start page B,finish page A
  3. start page A from page B, then call paypal, failed, and show error: OrderContext is in an invalid state
  4. but in step 2 if start page C first, then start page B, finish page A , everything is OK. I dont know why, what i should do to solve this problem.

Expected behavior

the problem is shown in To reproduce module, please help me.

Screenshots

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant