Wordpress PayPal oder failed error, CreditCardGateway.php:405 - woocommerce

WooCommerce PayPal Payments 1.9.3
WooCommerce 6.9.3
Wordpress 6.0.2 OceanWP latest version
Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-PAYMENT_DENIED CreditCardGateway.php:405 [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-PAYMENT_DENIED OrderEndpoint.php:313 Order status changed from Pending payment to Failed.

PAYMENT_DENIED
This is a normal business error, not a technical problem. It simply means the payment was denied by PayPal.
If you are testing payments yourself, ensure the card and its address, email, phone number, the IP address used, etc are not associated with the receiving PayPal business account in any way. Payments to your own account are not permitted in the live/production environment.

Related

Woo-commerce is not redirecting to ccavenue gateway after filing billing information

I am having an issue with my woocommerce portal where i am using ccavenue as a payment gateway. for integration of ccavenue I am using plugin (https://wordpress.org/plugins/ccavanue-woocommerce-payment-getway/) to setup the credentials received by the ccavenue portal like merchant id, access_code and merchant key.
When an user trying to purchase something, product is successfully added in the cart, and able to navigate to checkout page, but when user click on "Place order" button after filing all the required information such as billing details, the page is not redirecting to the gateway, it is remain on the same page (after reload). and i am unable to figure out what is causing the issue as it is not giving any error or console error.
1: wordpress is updated at its updated version
2: woocommerce and plugin is also updated.
please suggest how could I check the issue of this problem.

Paypal with option useraction=commit not creating transaction

i installed ezsystems/payment-paypal-bundle on ibexa commerce as a payment provider with all config and useraction=commit. so the Customer logs in from Paypal and clicks on the Pay Now button. Paypal gives no error, everything seems to be successful and customer is redirected at the RETURNURL, but no transaction is created in the buyer or in the seller account.
You are expected to show a review page on return, and run DoExpressCheckoutPayment (or equivalent) after the payer confirms the payment on your site. Setting useraction=commit will change the verbiage of the last button to say "Pay Now" instead of "Continue", indicating to the user that you are going to capture immediately (skipping the default review step) but this is only a wording change -- you still need to do a DoExpressCheckoutPayment (or newer API order capture/execution) to get a success orfailure response, and show the result.
It's worth noting that SetExpressCheckout / DoExpressCheckout payment are very old APIs....
The current v2/checkout/orders REST API does have similar capabilities if doing a redirect integration, but such redirecting is an old flow/ Keeping your site loaded and using JS for the approval instead of a redirect is always recommended nowadays (works with both current and old APIs).

How to install ecwid payment gateway template

I'm currently working on the wordpress ecwid plugin. In order to develop my own payment method, I downloaded on github their payment gateway template that I'm now trying to install on my wordpress ecwid shop without success. Please, would you know how to proceed? Thank you for your attention.
It's Gunter from Ecwid team. I see you reached out to us via email too. We've addressed the email request. And we will post the answer here too, just in case.
If you want to integrate a custom payment to your Ecwid store, you should follow these steps:
Register a custom app. You can do that at this direct link: https://my.ecwid.com/#develop-apps
Provide us with the payment URL (your own server) to which Ecwid will send the payment requests. You can send us your URL to apps#ecwid.com email and we'll add it to your app.
After that, when your customers choose your own payment at checkout and click on the “Pay” button, Ecwid will send a POST request with the cart data to your server payment URL. And your customer will be also redirected to this URL. So, you can show any external page to them after redirection.
After redirection, your server needs to get cart details from the request, decrypt it and send it to the payment provider in a correct format for processing. After the payment is processed, your server needs to update the order status and redirect the customers back to the Ecwid storefront.
You can find more details about how the custom payment apps work here: https://api-docs.ecwid.com/docs/how-payment-method-works

Sandbox account verification

I'm using paypal with woocommerce on a wordpress site.
I've set up a developer's account, and made a sandbox account. The profile says the status is unverified, even though I have recived the verification email and followed the link to verify the account. Could it still say unverified because I haven't linked a card to it?
When I try to test paypal checkout on my site I get this error:
Payment error:
An error (10002) occurred while processing your PayPal payment. Please contact the store owner for assistance.
Error Code Interpretation:
Authentication/Authorization Failed Username/Password is incorrect.Please check below link for more information
Reference:
https://developer.paypal.com/docs/classic/api/errorcodes/

Woocommerce Issue with 2 emails of same paypal account?

i noticed that i received an error about "Unpaid order cancelled – time limit reached. Order status changed from Pending Payment to Cancelled."
I know some say that to fix this simply clear out the hold stock option in "inventory" but i am wondering if there might be another issue.
In woocommerce paypal settings, for "paypal email" i have "payment#mycompany.com", for the "receiver email" i have my personal email set "myname#live.com"
On paypal, both of these email addresses are part of the same account but the primary email on paypal is my personal email. Any issues with this?
Make certain that the receiver email and your PayPal Email you are using in WooCommerce is a confirmed email on your PayPal Account. If the email is not confirmed then the funds will never go into your PayPal Account.
Woothemes PayPal Standard Instructions

Resources