We are using Magento
I have got the below error in exception log file :
exception Mage_Core_Exception with message below:
PayPal NVP gateway errors: The transaction cannot complete successfully.
Instruct the customer to use an alternative payment method
(#10417: Transaction cannot complete).
Correlation ID: e9aa67915a70f.
Version: 60.0. in /home/necro/necroproduct.com/app/Mage.php:536
Can anybody help me to solve this error?
There is an error code in your log:
(#10417: Transaction cannot complete).
According to the documentation this simply means that the customer does not have enough funds on their account (or has no credit card linked) to pay for the item, as stated:
Account not associated with a usable funding source.
or
Credit card or Billing Agreement is required to complete payment.
So, unless you are willing to drop a credit card/billing agreement requirement (if you currently do so at all, that is) there is not much you can do on your end.
Related
I have this error, is it related to Braintree configuration or something in code?
This is method for payment.
$request->user()->newSubscription('main', $plan->braintree_plan)->create($request->payment_method_nonce);
Full disclosure: I work at Braintree. If you have any further questions, feel free to contact
support.
If you are in a Production account, 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. You can read the full list of decline response codes in our Declines documentation.
In you are testing in a Sandbox environment, processor declines are triggered by passing a specific test amount that corresponds with a decline code.
We're currently using the rest API for PayPal (PHP) and everything was working fine in the sandbox. When we went live we continue to get the following message:
{"name":"INSTRUMENT_DECLINED","details":[],"message":"The instrument presented was either declined by the processor or bank, or it can't be used for this payment.","information_link":"https://developer.paypal.com/docs/api/#INSTRUMENT_DECLINED","debug_id":"8ad80896530bd"}
What does this mean and more importantly is there a reason this is not being caught as an exception in the php SDK. It seems to pass through without issues (using the exact same code as in the sample file for executing a payment). Is there a way to catch this?
Sounds like the payment method was turned down by the bank, or is not allowed for the attempted purchase. For instance prepaid debit cards are often now able to complete certain payments, and many cards are restricted geographically.
everything was working fine in the sandbox
The sandbox doesn't actually check with the bank whether a card is good, so it wouldn't have thrown the same error. The sandbox is for testing whether the code paths work as intended. The problem is not with your script.
In case other people look at this issue.
There is actually an official explanation and solution in the paypal documentation.
A buyer's funding source can fail for several reasons, including:
The billing address associated with the financial instrument could not
be confirmed. The transaction exceeds the card limit. The card issuer
denied the transaction. If a funding source fails, the Orders API
returns the INSTRUMENT_DECLINED error. Handle this error and provide
the buyer an opportunity to select a different payment option by
restarting the payment in the onApprove function.
https://developer.paypal.com/docs/platforms/checkout/add-capabilities/handle-funding-failures/
We have deployed successfully Paypal on our website. However, every now and then, we get an error when a customer tries to pay.
Here is the error:
{"name":"PAYER_CANNOT_PAY","message":"The combination of payer and payee settings mean that this buyer can't pay this seller.","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#PAYER_CANNOT_PAY","debug_id":"fb74a83818f40"}
Unfortunately Paypal's documentation doesn't say much. I also find this error very strange given it happens at the CAPTURE, after EXECUTE and after Paypal reports back to us with a success.
The payments show up in our Paypal account as Pending.
How do I resolve this? Does anyone know what causes this? So far I am unable to see what can cause this or reproduce it in my tests.
Here are the steps taken:
1 - We create a payment object using the REST API and redirect the user to the Approval link
2 - The customer goes to paypal and enters the desired payment information
3 - Our success return URL gets called after the customer completes everythin on the paypal side
4 - We execute the payment
5 - We capture the payment <-- ERROR happens HERE
Thank you!
It's buyer's funding source issue, payment is declined by buyer's card bank. it's not your integration issue. Buyer need to call bank to fix his/her card, then you try to capture the money again.
I am developing woocommerce project . I used Authorize.net payment gateway plugin for that.
payment and order placings are working fine.But after get payment that url not redirect to success page .
I want show order info after payment completed. May be my x_relay_url is wrong.
I don't know how to give that .please tell me One example url for that and solve this problem to me...
after payment completed it's showing like this message..
An error occurred while trying to report this
transaction to the merchant. An e-mail has been sent to the merchant informing them
of the error. The following is the result of the attempt to charge your credit card.
This transaction has been approved.
It is advisable for you to contact the merchant to verify that you will receive the
product or service.
NOTE: IT IS IN TEST MODE.
thanks & regards..
This error typically occurs when the payment gateway is unable to POST to the relay response URL you configured. Since the POST is coming from Authorize.Net, the URL must be publicly available.
Also, if you are testing in the sandbox, you should not send transactions in Test Mode. Transactions submitted with test mode only confirm if the API Login and Transaction Key are correct, and returns OK but does not actually process and store a transaction.
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.