Paypal seller onboarding before payment issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to built an online platform where I need to onboard sellers into the system.
I referred to the link below:
https://developer.paypal.com/docs/platforms/seller-onboarding/before-payment/
Followed the steps as mentioned in the documentation.
Got the access token and also got the links to create the sign-up link.
I used the href property of the second item.
I also provided the return_url value as mentioned in the docs.
But i am not redirected to that url with the query params.
Instead got redirected to the dashboard page, which is supposed to happen when i don't provide the return _url.
Below is the request params to the specified endpoint.
$body = [
'tracking_id' => '',
'partner_config_override' => [
'return_url' => route('profile.onboarded'),
],
'operations' => [
[
'operation' => 'API_INTEGRATION',
'api_integration_preference' => [
'rest_api_integration' => [
'integration_method' => 'PAYPAL',
'integration_type' => 'THIRD_PARTY',
'third_party_details' => [
'features' => ['PAYMENT', 'REFUND', 'PARTNER_FEE']
]
]
]
]
],
'products' => ['EXPRESS_CHECKOUT'],
'email' => auth()->user()->email,
'legal_consents' => [
[
'type' => 'SHARE_DATA_CONSENT',
'granted' => true
]
],
];
it's a php laravel application with virtual host still in development stage. it's in test / sandbox mode.
Please help me with this.
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Paypal 4X credit : translated message & currency error in PayPal Payments Standard
- Unable to Retrieve Plan ID Related to a Subscription in REST APIs
- Need help to integrate PayPal Standard Checkout with Shopify in PayPal Payments Standard
- [UNPROCESSABLE_ENTITY], but payment went through in PayPal Payments Standard
- Security header is not valid error message in woo commerce in NVP/SOAP APIs