c# - How to Create Account and get "Created" Response instead of "Completed" using Paypal Adaptive Accounts SDK -
when try create account on behalf of users paypal rest api, execstatus
completed
means account not set up.
completed - account creation request successful, account holder must redirected finish setting account.
how can create account , created
response?
created - account creation complete. no redirection necessary let account holder finish setting account.
(at https://developer.paypal.com/docs/classic/api/adaptive-accounts/createaccount_api_operation/)
at top of page:
the createaccount api creates paypal account on behalf of specified third party. account can personal account, premier account, or business account.
i don't want users redirected paypal. getting bank account information , add bank account right after create paypal account on behalf of them able receive funds.
what trying achieve creating paypal account (without redirection) , adding bank account let them receive payments other users make in future.
i use paypaladaptiveaccountssdk
's public createaccountresponse createaccount(createaccountrequest createaccountrequest);
method.
paypaladaptiveaccountssdk: https://github.com/paypal/adaptiveaccounts-sdk-dotnet
how can overcome problem?
Comments
Post a Comment