PayerId is not present in the subscription in onApprove function
matmiz
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jan-12-2021
01:31 AM
Hi everyone,
I am integrating subscriptions with the payment buttons, and sometimes when the onApprove function is being called, and I want to get the subscription data using the `actions.subscription.get()` function - I am not getting a `payer_id` in the subscription.
Is this a known issue? has anyone encountered this as well?
Thanks
Labels:
- Labels:
-
PayPal HTML Buttons
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- PayPal integration with Next, Lambda and API Gateway - 400 Invalid Request in Sandbox Environment
- How do I handle INSTRUMENT_DECLINED error? in REST APIs
- Custom message after successful payment in Subscription button code. in REST APIs
- Cannot start a PayPal subscription in Sandbox Environment
- Add Others data in SDKs