We are a big webshop provider, and we have thousands of webshops in our system.
We have a case where we get an error in DoExpressCheckout with PaymentAction of Authorization here is the error
Ack: FAILURE
Build: 000000
Version: 117.0
Timestamp: 2017-04-06T08:54:36Z
CorrelationID: 4d6d16d1d30fa
ErrorCode: 10423
SeverityCode: ERROR
ShortMessage: Transaction refused because of an invalid argument. See additional error messages for details.
LongMessage: This transaction cannot be completed with PaymentAction of Authorization.
We have no clue what is wrong. Because it happens for specific paypal account of a specific customer.
We have two shops / one of a customer of us. Where we get the error. We made another shop in our system where we connected a paypal verified business account and then with another real personal account we bought an item from that shop and it all works. No errors.
We tried to the the same for this problematic customer and we get the error. We are sure that the code we use is the same in both cases and there is no difference in our handling. So the question is what could be wrong on the other paypal business account?
Could it be an SDK problem?
Did you even try to google it? I googled 'paypal 10423' and found:
Issue PayPal returned API error code 10423 - This transaction cannot be completed with PaymentAction of Authorization. Cause You set PaymentAction to "Sale" with SetExpressCheckout at the first API call.
Not sure if this article may help you:
https://www.paypal-knowledge.com/infocenter/index?page=content&expand=true&locale=en_US&id=FAQ1015
Apparently its because your setting the payment action to sale on a SetExpressCheckout then switching to Authorization. Paypal doesn't allow this and advises to set the PaymentAction to Authorization with the SetExpressCheckout then swap to Sale when setting the DoExpressCheckout call.
This is how we post the request to SetExpressCheckout:
SetExpressCheckoutRequestDetailsType req = new SetExpressCheckoutRequestDetailsType();
.....
PaymentDetailsType paymentDetails = new PaymentDetailsType();
paymentDetails.PaymentAction = PaymentActionCodeType.AUTHORIZATION;
paymentDetails.ShipToAddress = ....
req.PaymentDetails.Add(paymentDetails);
So we are 100% sure we use Authorize, and we do the same for DoCheckout, so it seems like PayPal is thinking we did Sale as PaymentAction why is that?
Related
When a customer places an order from the shop (Magento 2.3.2) using PayPal PayFlow Credit Card payment method but sometimes payment failed for some of the customers and there is no any message displaying on the checkout page.
When place order button hit PayPal generates the secure token to for the further transaction. Let me explain you step by step.
Place order button hit
PayPal generates securetoken and securetokenid
PayPal authorize the transaction with AMT : 0
PayPal response with the error message on step : 3 requests.
'RESPMSG' => 'Field format error: 10004-The transaction id is not valid',
I see the API docs from the PayPal but PayPal not stated clearly any specific error message. They have written generic error message. Please check in this screen shot.
https://i.imgur.com/2od4nIr.png
If anyone help on this to know exact reason for the transaction failed that will help us or customer to understand in better way rather then to show a generic message from the PayPal error message.
Looking forward to hearing for a solution.
I suggest you contact support for this issue as changes were put in place due to rate limiting and other item for merchants who are on Magento due to this issue, https://support.magento.com/hc/en-us/articles/360025515991-PayPal-Payflow-Pro-active-carding-activity.
I installed the module chekout Express OpenCart 2.1.0.1 for my eshop www.lecoccolekids.com/eshop
I created the API of my business account, I created a sandbox account and I connected my business account for my sandbox account.
When I went to do a test purchase on my website everything goes well and the system sends me back to the order page made, but if I go to check in Opencart System-> Tool-> ErrorLog returns error. In http://www.famarinu.com/log.rtf link you can download the file where log.rtf control the type of error.
What should I do?
Thank you!
Your linked document seems to contain the debug logs of the transaction and no errors.
It contains the SetExpressCheckout, GetExpressCheckoutDetails and DoExpressCheckoutPayment API requests that your integration is sending and the response from PayPal.
It's also showing that an IPN was received for the transaction and PayPal responded with VERIFIED when your integration POSTed back for verification.
If you are worried about the "Transaction exists" line, that seems to be an intended log line from your PayPal module, and not an error, as seen here:
https://forum.opencart.com/viewtopic.php?t=115661
someone can help. I using PayPals Rest API to make a direct payment. I have a Pro account. The response, I get back from paypal after the autho process, has a status. PayPals documentation says there are 5 different statues that can be returned. (created; approved; failed; canceled; expired ). So my question is, if the status is pending, how can i know if at a latter date the payment has been successful or declined. There is no mention in the documentation to use an IPN. I cant find any documentation on these statues. Any help would really be appreciated.
You could use the Look up a payment resource call to get details about payments that have not completed, such as payments that are created and approved, or if a payment has failed.
I was trying to make a transaction through PayPal REST API using a saved credit card in live environment.
I have got a PayPalRESTException with response as CREDIT_CARD_REFUSED.
Here is the error message:
Error code : 400 with response : {"name":"CREDIT_CARD_REFUSED","message":"Credit card was refused","information_link":"https://developer.paypal.com/webapps/developer/docs/api/#CREDIT_CARD_REFUSED","debug_id":"<some number>"}
Now I want to know why the card is refused and how to get any info. from this debug_id.
Is there any way to get all these failed transaction details in PayPal merchant account?
Note: The card was previously authorized and saved in paypal
Merchants aren't usually told the reason for a CC refusal. It's none of their business after all. It's between the CC provider and the cardholder.
L_ERRORCODE0:10409 Express Checkout token was issued for a merchant
account other than yours
What is this error means?
I didn't understand the cause of this ERROR in my application when i integrate paypal express checkout.
I'm assuming you must have gotten that when calling DoExpressCheckoutPayment..??
The only reason I can think that you would get this is if you're using different API credentials for SetExpressCheckout than you used in DoExpressCheckoutPayment.
Or, it could be that when you called SetExpressCheckout you were using a SUBJECT value and you forgot to include this same value in your DoExpressCheckoutPayment request.
That's all I can think of that would raise that error, because it really does mean exactly what it says...the token is for a different account than you're trying to process the payment with.