About the workflow of seller onboarding and payment in the context of full stack development
ycl2
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-28-2021
10:21 PM
Hi there,
This is my first time using Paypal API as a payment gateway in my full stack web project and I am not sure the common practice of implementing the Paypal Commerce Platform.
Here are the confusions I have currently:
- As the access token (the one you need to retrieve through sending GET request with client ID and secret) will expire at a given time, is it a common practice to retrieve a new access token every time before a user attempts to onboards? If so, how is it commonly implemented?
- I am using React as frontend, is it correct and safe to directly send POST request to the seller onboard API from React? or should I send the POST request to my server, and during that POST request, fire another POST request to the seller onboard API?
- After the seller completed the onboard procedure, do I store his details such as merchant_id and tracking_id in the database for future payment use? I am asking this because during sending POST request to create order, the payee field has to be filled with the seller merchant id or his email address. I am not sure if storing that information in database is a correct practice, or Paypal has another API for such that i am not aware of.
Labels:
- Labels:
-
Payments REST APIs
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
- Sandbox REST APP platform type creation is not providing country of my business residency in Sandbox Environment
- Paypal seller onboarding before payment issue in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Unable to complete seller onboarding in Sandbox Environment
- Techical Support Required for Paypal Marketplace in SDKs