PayPal Payouts "Sender has insufficient funds" in Sandbox - ruby

I'm trying to setup a PayPal Payout. I've got my API calls going through but in the sandbox I keep getting: Sender has insufficient funds. How can I add funds to my application? I can't seem to find an option to specify an account to send from.

For the mass payments you must have the PayPal balance . For the sandbox while creating the account it prompt you to specify the amount to show in the PayPal balance . But if you have missed that , you can create the new sandbox account and specifying the amount this time .
Otherwise you can provide your sandbox email address I can transfer you the money from my sandbox account to continue with the same sandbox account .

The answer possibly could be, that you have several currencies, say, EUR and you have a EUR balance of 1000, but you are trying to payout in USD.
So, what you should do, is login to sandbox.paypal.com using the test account, and level the currencies, so, transfer EUROs to USDs and now retry the payment, and it should succeed.

Related

Spring: Paypal Payment on new currencies results to PENDING capture status

I think this is not a code problem since my application can successfully pay and process payments using my account currencies (usd/php/hkd).
Since there was a new requirement to support some currencies (sgd, eur, jpy, etc), I added these currencies Account Settings > Money, banks, and cards.
Btw, I am using paypal order and payment version 2 on spring.
The application was able to pass the currency and value of the transaction (like what I do normally with USD/EUR/PHP).. It was able to create order object, authorized approved payment... but it the capture authorized payment is always stucked at PENDING.
I still need to check on my test paypal account and either Accept/Reject received payment.
However, my application is only checking for COMPLETED capture status for it to considered or mark it as successful payment.
I also tried the configuration on my test paypal account (Account Settings > Payment Preferences > Block Payments).
Tried selecting Yes, accept and convert them to... and Ask me whether to accept or deny each individual payment but the capture status is still PENDING.
Is there a way to proceed with the capture payment and have the status to COMPLETED? Even with payments of different currencies? It would be OK if the payment received will be stored on that currency or have it converted to my default currency (like USD, etc).
What I want is the capture status to proceed to COMPLETED without manually accepting/rejecting payments with other currency (newly added currencies).
Again, I think this is not a coding issue... more of a configuration issue.. but I am not sure which configuration and where to set. I am pretty new with paypal development.
By the way, I based my changes on my paypal account with this link:
Payment Receiving Preferences
TIA
This is standard PayPal behavior. If you accept the first payment in a new currency in a way that opens a balance in such a currency, future payments won't need to be manually accepted. You can also manually open $0 balances in the Money management section, https://www.paypal.com/businessmanage/account/money
The setting in Account Settings > Payment Preferences > Block Payments that you mention to convert non-balance currency transactions to your primary balance will only apply automatically to future payments. Their status should then not be 'PENDING' due to any currency issue.
(If you find that all payments are PENDING, even your primary balance ones, then the pending reason (as stated in the API response) is likely "authorization" -- meaning you created an authorization with intent:AUTHORIZE but haven't captured it yet. Change to intent:CAPTURE to capture immediately.)

Stripe multi vendor payment gateway using stripe API's in Laravel

I have created API's in laravel where user can buy and sell its products on a platform (android & iOS) app .
User is paying when he is buying any product .
Payment amount is going to Admin (Stripe dashboard) .
so what i need to do after that is ---- i am calculating stripe fee and application amount then i want to pay the rest amount to seller .
i have created an API where buyer will mark "mark completed" after he will recieved a product or seller will mark "mark completed" after he will successfully sell the current product in its chat hostory also buyer and seller both can mark dispute in this api
so how can i create a charge to pay the rest amount to seller after completion of a product's selling or buying that is marked by a user or seller .
please let me know if there is something best
thanks in advance!!
You can use Stripe Connect for paying your vendors. You can make separate charges once the item is bought and transfer the calculated amount to the seller once it is marked completed. Click here for more details about this.

paypal configuration in magento

no purchase order or invoice is sent to the client when paying by credit card. when the payment is made through paypal transaction, it displays an error message "The transaction was declined by paypal gateway"
Why PayPal Declines transaction?
A processor decline indicates that the customer’s bank has refused the transaction request. Sometimes you can tell why it was declined by reading the response code, but only the customer's bank can confirm the specific reason. Here are a few of the most common ones:
Incorrect credit card number or expiration date
Insufficient funds
Some banks will reject charges based on location
Some banks will reject charges based on their own fraud rules
You may also see the PayPal decline article.
Also you can follow PayPal advanced error message "Payment has been declined. Please try again"

Recurring Payments - Trial without card

We're developing a system whereby the user will be sign-up and have a 3 month trial without entering card details. Once the trial period is up they get sent an e-mail asking them to come back and register card details in order to setup a recurring payment in order to continue accessing the site.
Is it possible to configure recurring payments with Braintree such that we don't provide a card for the trial period and then configure one upon notification that it has expired?
Thanks!
I work at Braintree. If you want more information than you can easily get on Stack Overflow, please reach out to our support team.
Braintree subscriptions require a credit card to be created. That way, the transition from trial period to billing doesn't require any action by the customer or merchant. Since our core service is billing credit cards, that's what subscriptions are designed to do.
In your case, it sounds like you can create a subscription in your application, and only link it to a Braintree subscription if / when credit card details are entered. You'll need to handle tracking the three month time limit yourself.

Refunds from Google Merchant Account while testing with real product IDs

Context: I have tested my app with static response, but now I want to test with real product IDs, So I followed from developer site "Testing In-app Purchases Using Your Own Product IDs"
Now when I made purchases I have to refund from my merchant account, The refund links on the order is not enabled, (Note: I have not added bank account to receive the money in merchant account). I see Cancel Entire Order button, but refund amount in there is 0, So can any one tell me how to refund?
Give Google some time:
"To ensure a safe purchasing environment and compliance with our Terms of Service, our specialists review Checkout merchant accounts on a regular basis. During this time, you will be temporarily unable to process refunds through your account. [...] Also rest assured that you will be able to resume processing refunds through your account 24 hours after your refund attempt is first declined. We appreciate your patience during this time.

Resources