PayPal gateway has rejected request (#10413) - paypal

I have migrated our Magento store 1.9 to 2.3. I have only one tax policy 10% for US California customers.
But I tried to make the payment with California address it came back to cart page with error.
PayPal gateway has rejected request. The totals of the cart item amounts do not match order amounts (#10413: Transaction refused because of an invalid
When I checked the code, it shows tax twice, but I couldn't find the where its coming from.
Is there any solution for that

Need to narrow down the issue first:
Check if having class preference and plugins and observer events that override or being triggered while processing Paypal gateway.
Also check if the issue still exists by removing tax policy 10% US California customers
Hope it helps, thanks

Related

Orders do not exist in Magento 2 but customer payments successfully captured with assigned order numbers

Platform M2.3.4
Date: 29-Apr-2020
Situation: There was a configuration error in Redis & Varnish settings that caused checkout issues making the checkout time much longer than expected for users due to excessive memory overload on checkout sessions.
Customers were able to add products in cart, proceed to checkout and clicked PLACE ORDER.
ERROR EXPERIENCED: Critical error when Paying by PayPal forever spinning wheel when paying via Card.
On investigation the payments were successful, sometimes numerous as they thought things failed and tried again. All orders had Order numbers in the payment provider platform, eg PayPal, Adyen, Amazon Pay.
However, these were not present in Magento. We would like to process these orders but there are not sufficient order details like product info (Colour-size/variant) present in the payment system.
For customers who waited for 3-4 mins for the page to complete and saw the success page, the orders were created successfully in Magento backend.
Is there a way to complete the order and have it created in Magento 2 since it seems to already assign an order number to the transactions which are in Payment systems like PayPal and Adyen but no order present in Magento visible view?
An example order number was 000046777
How can I get to create/complete these orders in Magento since Magento order numbers were already assigned?
Is it possible to see these orders in the database, if so, how?
If it is impossible to retrieve these orders from Magento or the DB, how can I create new orders manually and assign the existing order numbers that were captured/assigned by Magento in the payment system when the failure occur?
You can try to specify (find by reserved order id in quote table) and convert programmatically the quote to order which is failed
https://magento.stackexchange.com/questions/108561/how-to-convert-a-quote-to-order

Paypal Reference Transaction Billing address blank

I have been playing with the reference transactions facility on paypal and I have run into a bit of an issue.
Everything works fine right up until I try to retrieve the latest billing address from the customers account.
If I don't do this, everything works as it should and payment is taken.
Based on https://developer.paypal.com/docs/classic/express-checkout/integration-guide/ECReferenceTxns/ I have made the call to retrieve the billing address but it comes back with all the fields as null. The name is correct but the address is empty.
Any ideas on this. I can't integrate this into our site if I can't retrieve the billing address.
As with most things related to PayPal and their APIs, they simply hadn't bothered to document the fact that you have to liase with them and contact them for various parts of the system to be enabled.
Initially when using reference transactions I tried to setup a "Billing Agreement" and the API response alerted me to the fact that reference transactions needed to be enabled on sandbox and live accounts in order to function and that they had to do this themselves, not the owner of the sandbox / live account.
Brilliant, undocumented issue no1.
Once that was working, I moved onto testing the use of a "Billing Agreement" to take payment and as part of that you make a request to PayPal for the details of the agreement so as to ensure its still active and to get the customers delivery address.
I do that and everything comes back as expected apart from the delivery address...
After much head scratching I contact their technical support who informs me that again, this needs to be enabled on the sandbox / merchant account before it will return the address.
Seriously, I know that PayPals documentation is quite poor but this just takes the biscuit. So if anyone has any issues with reference transactions, just contact them and ask them to enable EVERYTHING related to it and explain what they have done.

Open Cart Module

Need help.. My query is as follows
I have my e-commerce website up and running with all the products. People are visiting my website and they are unable to complete the checkout process because there is no payment gateway setup yet , due to some delay in the bank process the gateway is still not setup.
I did try the cash on delivery process but it resulted in a huge loss to me.
I wanted to know if it is possible to send an email confirmation to the customer with the order details, price and my bank details to which they can deposit the amount during checkout process in opencart.
You can use the "Bank Transfer" details for that, but it's essentially the same as what you've got with COD. The easiest thing to do is just set up another payment gateway such as paypal etc. There are hundreds of them available (other than the ones that come as standard).
hope this helps for you and got an idea.
For my experience, depositing the money to the bank by the customer is a indeed huge waste of time. They shop online for the convenience of not going out or what.
For your question:
Try to search cybersource as they are our payment gateway and they are really secure.
I suggest, since you don't yet the payment gateway, upon checkout, inform the customer what will be the mode of payment that they are using - like Credit Cart, Cash-On-Delivery or thru PayPal.
I think there is still no module that requires your need but you should work now on getting the payment gateway done as it will really help you save time and money.
Once you complete your payment gateway, try to establish Shipping method: Pick up from the store, Free Shipping when within your country and thru Shipping Delivery Service like DHL, FedEx, AmEx, etc.
Good Luck.

Paypal accounts funded by credit cards = 10417 error

I've come here in a bid to try and solve what seems like a blackhole that nobody in paypal can help us with.
We've a business account. Paypal Express (digital goods). Verified, restrictions lifted etc...
We've got paypal express integrated fine as our sole payment method. But there's a problem. ANY paypal account funded by a credit card will just flat out fail and give a 10417 error.
Overview
Customer A has an existing paypal balance of $10
Customer B has an existing paypal balance of $0 but has their account
funded by credit card.
Customer A has no problems on our site with any transaction below $10.
Customer B gets an error upon payment. More specifically, a 10417 error.
Now before anyone says it, we have checked with card issuers etc... so we're 100% sure this is not an error with cards or banks (as the 10417 error tends to suggest). We've literally tested this with a dozen verified / clean paypal accounts in different countries with different card types & different issuing banks. All of them fail and sandbox gives us no clues either...
Can anyone throw us a bone here or think of any possible reason this could be happening? It would be much appreciated...
Update: Resolved: Turns out it was a problem with our account and more specifically our category of industry. It would have helped of course had someone told me that the half a dozen or so times I called over the past week - yesterday on the phone i asked an agent if she was 100% certain this was a problem with a customers card, bank or billing address. I knew it wasn't so i wanted just to see if she'd commit to it. Her response - "yes sir, i'm 100% certain". Sums it all up. Hopefully this will help someone else out there... if you're getting 10417 errors, try changing the business category or subcategory in a bid to stop you going insane...
Ran into the exact same issue, paypal support was not very helpful
Turns out the problem was the business URL was set to http instead of https
Our business website redirects from http -> https, but this redirect seems to cause a problem at checkout for paypal
Once we changed the business url, customers were able to proceed with payments
Solution:
Log in to paypal
Navigate to https://www.paypal.com/businessprofile/settings/info/edit
Edit the business profile and make sure "Business URL" is set to https://

Your financial institution has indicated that it could not successfully authenticate this transaction.

I'm getting this intermittent message on checkout in BigCommerce.
Your financial institution has indicated that it could not successfully authenticate this transaction. To protect against unauthorized use, this card cannot be used to complete your purchase. You may complete the purchase by selecting another form of payment or use a different card.
My API is correct with Paypal Payments Pro, Check out works and then doesn't work. Tried a few cards, sometimes the card worked, and sometimes it didn't. Here is the error message.
Your financial institution has indicated that it could not successfully authenticate this transaction. To protect against unauthorized use, this card cannot be used to complete your purchase. You may complete the purchase by selecting another form of payment or use a different card.
I have the same account setup on another BigCommerce site and never had a problem.
If you have another BigCommerce site and are using the PayPal account, make sure that your starting invoice numbers are far enough apart, otherwise you will be sending duplicate invoice numbers to PayPal and end they'll return an error. I was getting the same error, and I just set had to set one of my store's starting invoice number (under store settings/misc) to a really high number. This fixed the problem. Thanks BigCommerce tech support guy!
(You should be able to see what error you are getting by going through your store logs)