I have problem with paypal sendbox testing account. I am trying to reproduce failing transaction when there is no enough funds but even when i make PERSONAL test account with 0$ i always get transaction complited and money is always transferd on BUSSINESS account. When i try to pay i get this message:
PayPal will use Discover XXXX-XXXX-XXXX-0295 to fund this transaction
if your bank does not have enough funds.
So every time it draws money from that card, but when i try to delete that card from PERSONAL user i am rejected.
Do you know what can cause this problem? :/
You can create test accounts without bank / balance / card.
Though if that's the case and the account doesn't have any funds, the buyer will be asked to add a card to his account prior to being redirected back to your site.
If you'd like to test a card decline (which is different than testing a PayPal account with no funds), enable 'Negative testing' on your buyer test account and set the 'amount' the AMT='104.86 for API error code 10486, or AMT=106.06 for API error code 10606.
See also https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/ht_ec_fundingfailure10486/ for more details about testing the API error 10486.
Related
I have setup recurring billing with Paypal REST API, and the merchant account is set in Singapore, but i don't see an "Pay with Debit or Credit Card" option in the popup checkout page.
I have seen the answer in this thread: Paypal credit card REST api error mention that it's only available for Pro UK merchant account.
So anyone can suggest me any ideas i can deal with this problem?
The reason why the buyer receives that error is because of it a guest checkout. Guest Checkout is not a 100% that is offered to your with your current account. Guess Checkout provide the buyer to pay with credit card but it is not a 100% success due to few factors that will reject the transaction such as:
1. If the buyer uses a credit card that already attached to a PayPal account.
2. If the buyer uses an email that is already attached to a PayPal account.
3. If the buyer already attempts multiple time on the same credit card and they received a decline or incorrect information was entered. Then, the credit card will be blocked or put under risk from our end.
These are the reason of the error that your buyer is seeing. To resolve this, they would need to have/create a PayPal account or use a different credit card to make the purchase. Some other merchant they might have a Pro account which only available for US, Canada, New Zealand and Australia. You may refer to the link here.
https://developer.paypal.com/docs/classic/products/payflow-gateway/?mark=payflow%20country
They have to use a direct credit card integration.
thank you.
I have several ambiguities in using paypal methods and cases, when IPN messages are sent. Im developing app, in which im using paypal(sandbox) for making deposits and cashouts. Each of these both transactions I want to log in my app and here some obscurity raises becouse I need to capture as many cases that may occur. So I'll take it gradually and I'll be thankful also for each partial response.
Firstly, I have some general questions:
In my app, im using BuyNow button, AdaptivePayment methods PAY and PaymentDetails and Merchant method GetTransactionDetails. Are these methods part of Bussines account and for free (there are no monthly fees) right? I cant afford to pay some monthly fees from begining.
May arise any problems, when i'll deploy it to non-sanbox environment?
cashout
For cashout Im using Adaptive payment PAY method.
When My app client make a cashout to his/her paypal account, I can catch through IPN message, that payment is completed and using AdaptivePayment PaymentDetails method and Merchant GetTransactionDetails method I can find out, that there is pending status with paymentreview reason. So on receiver side, where I dont have access, is payment review possibility. Thus receiver can DENY payment and here is a question, how to get information about this user action, becouse an IPN message doesn't come.
Another case that im facing is when client of my app make cashout to
his/her bussines paypal account with different currency from sender
(my bussines paypal account). There is pending status too, but with
reason "multicurrency" in IPN message. Here is similar problem to
previous point 1)... again, I cant get IPN message, which
determine, if user accepted or not the transacion.
deposit
For deposit Im using PayPal standard Buy now button.
PAYER SIDE(my app client): I dont understand, why there is payment
review (accept/deny) in payer account profile, when status of
payment is completed? Is it common behavior only in sandbox
environment? Or is it possible accept/deny payment on payer side in
non-sandbox?
RECEIVER SIDE(my bussines paypal account): There is payment review
too, on receiver side, and if im right, these links (accept/deny)
are similar to links on payer side, arent? There is refund
posibility too, exists some API method to refund programatically?
Correct, each of the products you mentioned do not have a monthly fee.
If a user accepts or denies a pending payment that would trigger another IPN with the completed status. Are you saying you've tested this specifically and you're seeing otherwise?
Receivers would only have to accept/deny in cases where there is currency conversion or maybe they have fraud filters set to flag specific transactions, etc. In most cases there should be no review necessary.
Apologies if this question has already been asked. I've been hunting around for a few hours and haven't found an answer to my problem.
I am pretty new in working with the PayPal api's, so please forgive me if I am blatantly missing something here.
I am setting up a test environment to gain an understanding of how to build a web checkout using the Express Checkout library in PHP. I have set up both a buyer and a merchant seller account and have used some of the examples in the PHP SDK to help me build a basic HTML input page, and ultimately succeed in transferring the funds from the buyer account to the merchant account.
The problem that I am having is that when I have completed in sending the money, and I then log into the buyer's sandbox account, I can see that the money was sent to the merchant, however the transaction has been tagged as "Unclaimed". Looking at the details of the transaction, it has been sent to the correct merchant sandbox account. When I then log into the merchant account however, there is no sign of the transaction.
I am using the "Sale" payment type.
Any help would be greatly appreciated.
Make sure the email address is verified on the sellers account. If you still don't see it, can you provide the transaction id, the test sandbox buyer email address, and the test sandbox seller email address and I can take a look at it on my side.
Im new in PayPal and I just want to ask, what is functional diference between API calls dononreferencedcredit and direct payment?
I understand it, that both send money to credit card, is it correct?
EDIT:
Is it possible to send money from my paypal account to credit/debit card or bank account of someone else using Paypal payments Standard? Or is it possible using PRO version? Exists any API or anything else for it?
DoDirectPayment takes money from a card and DoNonReferenceCredit issues a credit to a card.
In most cases you'd be more interested in DoDirectPayment and RefundTransaction, as the RefundTransaction API call will refund whatever type of transaction, charged via whichever funding source (be it card, bank, PayPal balance, et cetera).
DoNonReferencedCredit would only apply for a limited set of use cases; e.g. if you wish to disburse funds directly to someone's credit card. However, even this can already be handled by the MassPay API call where MassPay disburses it to the PayPal balance of the receiver, and the receiver can do with these funds as they please.
To me it seems that dononreferencedcreditissues credit to a card, while it's not being referenced in the original transaction. See this page for more information.
DoNonReferencedCredit is definitely the way to go if you do not want or do not have a reference to the original transaction. PayPal accounts do not allow NonReferenceCredits by default, you will have to contact business support to have this option enabled on your account.
You will receive the following error if NonReferenceCredits are not enabled on your account.
"Invalid merchant information: 10002-You do not have permissions to make this API call"
This is driving me crazy! I can't get the PayPal express (Payflow?) api to work....
paypal sandbox tells me:
Test Account: AAAA.B_CCCCCCCCCC_biz#XXXXX.com
API Username: AAAA.B_CCCCCCCCCC_biz_api1.XXXXX.com
API Password: DDDDDDDDDD
Signature: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ
in the paypayfunctions.php i wrote:
$API_User="AAAA.B_CCCCCCCCCC_biz#XXXXX.com";
$API_Password="DDDDDDDDDD";
$API_Vendor="AAAA.B_CCCCCCCCCC_biz#XXXXX.com";
$API_Partner="PayPal";
...
And when I test the service, all i get is "SetExpressCheckoutDetails API call failed. Error Message: Invalid vendor accountError Code: 26"
The PayPal documentation and examples are terribly complex, all I want to do is having a simple button that links to paypal to start the payment of XXX euro's to account YYYY....
Can anyone help me?
Thanks in advance!
Express Checkout and Payflow are two separate PayPal services. Your sandbox credentials (which include a signature) are for Express Checkout. The script asks for a partner, which is specific to Payflow.
What do you want to use? Express Checkout or Payflow? See the paragraphs below for more information on the two.
Are you sure the script is for Express Checkout?
Is the script connecting to the sandbox or live API? The Express Checkout sandbox API is located at https://api-3t.sandbox.paypal.com/nvp.
Express Checkout is primarily used for payments using a PayPal account. You can set up a sandbox environment at developer.paypal.com. Within the sandbox you can create test accounts, at sandbox.paypal.com. See the PayPal API Reference for more details.
Payflow is a payment gateway that allows you to pay using a credit card or checks, among others. PayPal accounts are not supported by Payflow. You can sign up for an account, which can be used for testing and real payments after you upgrade the account. See the User's Guide for Payflow Link (PDF) for more details.
Issue
PayPal returned result code 26 - Invalid vendor account when processing a transaction.
Cause
You may get result code 26 if:
You just activated your account.
A vendor account doesn't become active until at least an hour after it was created. Typically, a database update begins at 20 minutes past the hour and lasts about 20 minutes. If your account becomes active while the database is updating (after the 20-minute mark), you must wait until after the next hour's update before you can use it.
The login information is incorrect.
Verify the information you entered in the User, Vendor, Partner, and Password fields.
Check that you sent the correct Partner value.
The primary user's Merchant ID should be in the User field. For a secondary Payflow Pro user, the User field should contain the password assigned by the primary user.
All fields are case-sensitive.
**
The bank BIN number is unknown.
** For PayPal Australia (VSA) only, result code 26 indicates that the customer's credit card is issued by a credit union or small financial institution. The processor, FDRA, has no bank identification number (BIN) on file for the card, which triggers the error message,"No Universal Account - Response code 42." You must get another credit card or form of payment from your customer.
Solution
Check that all values in use are both correct values and proper case (all values are case-sensitive).