How to get order information off webhook
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I just recently started integrating PayPal into my eCommerce platform and I have a question about retrieving seller's information from the webhook.
The platform I am building is for customers to buy products from sellers that associate with my platform, the payment will first go through my platform before paying out to the sellers. And I am using the PayPalScriptProvider and PayPalButtons from @paypal/react-paypal-js to accept the payment.
What I want to do is when the customer presses the Paypal button to pay for the product, I want to store the product's seller's information along with the payment so that when the charge is successfully processed and webhook is triggered, I would be able to retrieve the seller's information off that webhook and know who to payout for that order.
Is there any way to achieve this? Thank you!
- Labels:
-
Webhooks REST APIs
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- I want to implement subscription functionality. in REST APIs
- third party direct payments towards developers in REST APIs
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- Pending Order expiration in REST APIs
- Pay Pal integration with existing site code and databases required in Sandbox Environment