cancel
Showing results for 
Search instead for 
Did you mean: 

Who Me Too'd this topic

Partner Referrals API authCode & sharedId missing

carlton_s
Contributor
Contributor

Hi all, 

I'm following the Partner Referrals API's seller onboarding instructions at https://developer.paypal.com/docs/platforms/seller-onboarding/build-onboarding/

I was able to successfully:

1. get an access token (https://api.sandbox.paypal.com/v1/oauth2/token)

2. generate signup link (https://api-m.sandbox.paypal.com/v2/customer/partner-referrals)

3. embed the signup link

4. redirect the seller, receiving the merchant ID, permissions granted, etc

 

Where I'm having trouble is that the callback that is supposed to receive the authCode & sharedId for the seller, does not seem to be called. This is the one from the example code https://developer.paypal.com/docs/platforms/seller-onboarding/build-onboarding/ 

I tried to have it log, which doesn't show, and the API call to my server's endpoint I made for that is never executed. So I'm wondering if the 

data-paypal-onboard-complete="onboardedCallback" part of the < a > element is broken?
Login to Me Too
Who Me Too'd this topic