Comments (8)
Hi @techtic-harshad , can you give your code snippet and are you trying to integrate with payouts API.
"sending amount to the other paypal account by email", is this your need?
from paypal-node-sdk.
Yes(sending amount to the other paypal account by email), i have tried with below code and it returns AUTHORIZATION_ERROR
var sender_batch_id = Math.random().toString(36).substring(9);
var create_payout_json = {
"sender_batch_header": {
"sender_batch_id": sender_batch_id,
"email_subject": "About withdraw"
},
"items": [
{
"recipient_type": "EMAIL",
"amount": {
"value": 0.99,
"currency": "USD"
},
"receiver": ***@test.com,
"note": "Thank you."
// "sender_item_id": "item_3"
}
]
};
// var sync_mode = 'true';
await this.paypal.payout.create(create_payout_json, function (error, payout) {
if (error) {
console.log(error);
throw new ApolloError("something went wrong, please try after some time");
} else {
//need to test with below function because not tested yet
return {
data : payout,
message: "Amount successfully sent to your PAYPAL account."
}
}
});
from paypal-node-sdk.
Prerequisite/basic requirements for a account to do Payouts.
To onboard a merchant to use Payouts, merchant must have
- PayPal business account
- Confirmed email address
- Bank account should be attached to the account (Bank account has to be verified by PayPal)
- CIP verified (for US account) / KYC verified account
- Enable Payouts (masspay) for the account
Hi @techtic-harshad, can you validate if the account which you used fulfill the above mentioned basic requirements?
Thanks!
Prakash
from paypal-node-sdk.
@prakash-gangadharan currently i am using sandbox account so, its needed?
because we don't have actual account to work on.
from paypal-node-sdk.
@techtic-harshad yes, you can create create test accounts in sandbox.
from paypal-node-sdk.
I have created APP for clientId and secretKey from sendbox account.
But, when i tried to call paypal.payout.create, it will return an error(mentioned in #437 (comment)).
from paypal-node-sdk.
How can we add the payout in sandbox paypal account, how we can we fill all the requirements to use payout in sandbox pay pal account.
from paypal-node-sdk.
Hi @techtic-harshad and @techtic30naitik ,
https://developer.paypal.com/docs/payouts/integrate/prerequisites/# -> this is the documentation on prerequisites.
https://developer.paypal.com/docs/payouts/# -> this is for payouts.
from paypal-node-sdk.
Related Issues (20)
- is it possible to use masPay (payouts) behalf third party? HOT 1
- PayPal Auth - Adaptative Payments HOT 2
- Currency amount must be non-negative number, may optionally ... HOT 2
- Error 500- paypal.billingPlan.get HOT 7
- Setup fee not showing when paying HOT 2
- Cancel thousands of agreements at the same time HOT 1
- Is PayPal "Sync" Supported? /v1/reporting/transactions HOT 3
- Item amount must add up to specified amount subtotal (or total if amount details not specified) HOT 2
- This library seriously needs maintaining, billing plans do not work as per the docs. HOT 1
- PayPal SDK
- Rest API issue HOT 1
- Cannot construct instance of `com.paypal.platform.payments.model.rest.common.Amount`, problem: INVALID_CURRENCY_AMOUNT_FORMAT HOT 1
- problem with request: unable to verify the first certificate
- Can this sdk be used for subscriptions. HOT 3
- disable user subscription from the database if he didn't pay HOT 1
- RFC: Ability to Skip Customer Approval in Sandbox needed to run integration tests
- Paypal transaction API returns `Data for the given start date is not available.` HOT 4
- OrdersGetRequest bug HOT 1
- MISSING_PAYLOAD when using AgreementSuspendRequest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paypal-node-sdk.