Assistance Needed: Passing and Retrieving Custom Data in PayPal Webhook Payload
Veera20
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Dec-07-2024
11:36 AM
I need assistance with passing and retrieving custom data in the webhook payload. Specifically, I would like to pass custom data (e.g., objects) when creating an order and retrieve this data in the webhook payload when the payment event is triggered. This is critical for my application's further processing.
Here are the details of my setup:
- Frontend: React.js using @paypal/react-paypal-js.
- Backend: Node.js using @paypal/paypal-server-sdk.
- Webhook Implementation: Following the documentation at PayPal Webhooks Guide.
I have successfully received the webhook for payment events, but I am unsure how to include and retrieve custom data (such as metadata or specific objects) in the webhook payload.
Can you provide guidance on:
- How to pass custom data when creating an order.
- How to retrieve this data in the webhook payload when the payment event is triggered.
Looking forward to your support to resolve this issue.
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.