Title: Error processing payment
Last modified: May 19, 2023

---

# Error processing payment

 *  Resolved [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/)
 * Hi,
 * Could you tell me why my site has this error when the customer tries to make 
   a payment?
 * [https://prnt.sc/tZoRjU6Je_z2](https://prnt.sc/tZoRjU6Je_z2)
    -  This topic was modified 3 years ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This topic was modified 3 years ago by [devsimmao](https://wordpress.org/support/users/devsimmao/).

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/error-processing-payment-7/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-processing-payment-7/page/2/?output_format=md)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751820)
 * Hi [@devsimmao](https://wordpress.org/support/users/devsimmao/)
 * If possible can you translate your request to English?
 * We are reviewing that error and it appears we will need to make an update to 
   the plugin to accommodate this scenario. Can you confirm if the customer was 
   using a credit card for their payment?
 * Do you offer any order bump or upsell products on your checkout page that would
   cause the order amount to change right before the customer places the order?
 * Kind Regards
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751886)
 * I can’t tell you if the customer tried to pay with a credit card.
 * Regarding the value of the products, prices are fixed and in US dollars. There
   are no surcharges during order completion.
 * I activated the methods below at checkout:
 * [https://prnt.sc/YR0s7kuMTsAh](https://prnt.sc/YR0s7kuMTsAh)
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751904)
 * Hi [@devsimmao](https://wordpress.org/support/users/devsimmao/)
 * Thanks for the screenshot. We are working on an update so this scenario is accounted
   for.
 * If you navigate to the WooCommerce > Status > Logs page there will be a “wc-ppcp”
   log file. Can you share with us the entry that corresponds to that customer’s
   failed payment? That will help us with development.
 * Kind Regards
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751931)
 *     ```wp-block-code
       2023-05-19T05:22:46+00:00 ERROR API error: Array
       (
           [url] => https://api-m.paypal.com/v2/checkout/orders/15T62697HR6000634/capture
           [method] => POST
           [http_status] => 422
           [request] => Array
       (
       )
   
           [error] => Array
               (
                   [name] => UNPROCESSABLE_ENTITY
                   [details] => Array
                       (
                           [0] => Array
                               (
                                   [issue] => INSTRUMENT_DECLINED
                                   [description] => The instrument presented  was either declined by the processor or bank, or it can't be used for this payment.
                               )
   
                       )
   
                   [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
                   [debug_id] => a84668fdd2645
                   [links] => Array
                       (
                           [0] => Array
                               (
                                   [href] => https://developer.paypal.com/docs/api/orders/v2/#error-INSTRUMENT_DECLINED
                                   [rel] => information_link
                                   [method] => GET
                               )
   
                           [1] => Array
                               (
                                   [href] => https://www.paypal.com/checkoutnow?token=15T62697HR6000634
                                   [rel] => redirect
                                   [method] => GET
                               )
   
                       )
   
               )
   
       )
   
       2023-05-19T05:23:12+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED
       2023-05-19T05:23:24+00:00 ERROR API error: Array
       (
           [url] => https://api-m.paypal.com/v2/checkout/orders/15T62697HR6000634/capture
           [method] => POST
           [http_status] => 422
           [request] => Array
       (
       )
   
           [error] => Array
               (
                   [name] => UNPROCESSABLE_ENTITY
                   [details] => Array
                       (
                           [0] => Array
                               (
                                   [issue] => PAYER_CANNOT_PAY
                                   [description] => Payer cannot pay for this transaction. Please contact the payer to find other ways to pay for this transaction.
                               )
   
                       )
   
                   [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
                   [debug_id] => 1b939624c8624
                   [links] => Array
                       (
                           [0] => Array
                               (
                                   [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_CANNOT_PAY
                                   [rel] => information_link
                                   [method] => GET
                               )
   
                       )
   
               )
   
       )
   
       2023-05-19T05:24:06+00:00 ERROR API error: Array
       (
           [url] => https://api-m.paypal.com/v2/checkout/orders/15T62697HR6000634/capture
           [method] => POST
           [http_status] => 422
           [request] => Array
       (
       )
   
           [error] => Array
               (
                   [name] => UNPROCESSABLE_ENTITY
                   [details] => Array
                       (
                           [0] => Array
                               (
                                   [issue] => ORDER_NOT_APPROVED
                                   [description] => Payer has not yet approved the Order for payment. Please redirect the payer to the 'rel':'approve' url returned as part of the HATEOAS links within the Create Order call or provide a valid payment_source in the request.
                               )
   
                       )
   
                   [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
                   [debug_id] => 174f42393e3fc
                   [links] => Array
                       (
                           [0] => Array
                               (
                                   [href] => https://developer.paypal.com/docs/api/orders/v2/#error-ORDER_NOT_APPROVED
                                   [rel] => information_link
                                   [method] => GET
                               )
   
                       )
   
               )
   
       )
       ```
   
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751934)
 *     ```wp-block-code
       2023-05-17T17:09:03+00:00 ERROR Error creating PayPal order. Msg:Facturación Dirección de correo electrónico es un campo requerido. Params: Array
       (
           [intent] => CAPTURE
           [payer] => Array
               (
                   [name] => Array
                       (
                           [given_name] => xxxxx
                           [surname] => xxxxx
                       )
   
               )
   
           [purchase_units] => Array
               (
                   [0] => Array
                       (
                           [amount] => Array
                               (
                                   [value] => 5.00
                                   [currency_code] => USD
                                   [breakdown] => Array
                                       (
                                           [item_total] => Array
                                               (
                                                   [currency_code] => USD
                                                   [value] => 5.00
                                               )
   
                                           [shipping] => Array
                                               (
                                                   [currency_code] => USD
                                                   [value] => 0
                                               )
   
                                           [tax_total] => Array
                                               (
                                                   [value] => 0.00
                                                   [currency_code] => USD
                                               )
   
                                           [discount] => Array
                                               (
                                                   [value] => 0.00
                                                   [currency_code] => USD
                                               )
   
                                           [handling] => Array
                                               (
                                                   [currency_code] => USD
                                                   [value] => 0.00
                                               )
   
                                       )
   
                               )
   
                           [items] => Array
                               (
                                   [0] => Array
                                       (
                                           [name] => xxxxx
                                           [quantity] => 1
                                           [unit_amount] => Array
                                               (
                                                   [currency_code] => USD
                                                   [value] => 5.00
                                               )
   
                                           [sku] => xxxxx
                                           [description] => Product ID: xxxxx
                                       )
   
                               )
   
                       )
   
               )
   
           [application_context] => Array
               (
                   [shipping_preference] => NO_SHIPPING
                   [brand_name] => xxxxx
               )
   
       )
   
       2023-05-17T19:04:35+00:00 ERROR API error: Array
       (
           [url] => https://api-m.paypal.com/v2/checkout/orders/19G875567S8625826/capture
           [method] => POST
           [http_status] => 422
           [request] => Array
       (
       )
   
           [error] => Array
               (
                   [name] => UNPROCESSABLE_ENTITY
                   [details] => Array
                       (
                           [0] => Array
                               (
                                   [issue] => INSTRUMENT_DECLINED
                                   [description] => The instrument presented  was either declined by the processor or bank, or it can't be used for this payment.
                               )
   
                       )
   
                   [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
                   [debug_id] => a90c7e1f8c292
                   [links] => Array
                       (
                           [0] => Array
                               (
                                   [href] => https://developer.paypal.com/docs/api/orders/v2/#error-INSTRUMENT_DECLINED
                                   [rel] => information_link
                                   [method] => GET
                               )
   
                           [1] => Array
                               (
                                   [href] => https://www.paypal.com/checkoutnow?token=19G875567S8625826
                                   [rel] => redirect
                                   [method] => GET
                               )
   
                       )
   
               )
   
       )
   
       2023-05-17T19:05:08+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED
       ```
   
    -  This reply was modified 3 years ago by [devsimmao](https://wordpress.org/support/users/devsimmao/).
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751942)
 *     ```wp-block-code
       2023-05-16T02:46:34+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED
       2023-05-16T02:46:36+00:00 INFO Webhook received. Event: PAYMENT.CAPTURE.COMPLETED
       2023-05-16T06:34:18+00:00 INFO Webhook received. Event: CHECKOUT.ORDER.APPROVED
       2023-05-16T06:34:21+00:00 ERROR API error: Array
       (
           [url] => https://api-m.paypal.com/v2/checkout/orders/8K536625L15325410/capture
           [method] => POST
           [http_status] => 422
           [request] => Array
       (
       )
   
           [error] => Array
               (
                   [name] => UNPROCESSABLE_ENTITY
                   [details] => Array
                       (
                           [0] => Array
                               (
                                   [issue] => PAYER_CANNOT_PAY
                                   [description] => Payer cannot pay for this transaction. Please contact the payer to find other ways to pay for this transaction.
                               )
   
                       )
   
                   [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
                   [debug_id] => d281245baf122
                   [links] => Array
                       (
                           [0] => Array
                               (
                                   [href] => https://developer.paypal.com/docs/api/orders/v2/#error-PAYER_CANNOT_PAY
                                   [rel] => information_link
                                   [method] => GET
                               )
   
                       )
   
               )
   
       )
       ```
   
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751948)
 * In the codes above, there are some errors that are occurring during the finalization
   of payments,
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16751968)
 * [@devsimmao](https://wordpress.org/support/users/devsimmao/) yes, PayPal is determining
   that the buyer needs to re-approve the order before the payment can be completed.
   
   They don’t publish why the buyer would need to re-approve but we’ll need to add
   additional code to handle the scenario where a buyer needs to go through the 
   approval process again.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16752026)
 * Hi [@devsimmao](https://wordpress.org/support/users/devsimmao/)
 * Can you use our [contact us](https://paymentplugins.com/contact-us/) page so 
   we can share a link to the update once we make the changes? We need help testing
   this scenario.
 * Kind Regards,
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16752036)
 * Thanks for your feedback. In that case, there’s nothing wrong with my website,
   right?
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16752043)
 * Yes, I will request the update link through your contact form.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16752080)
 * [@devsimmao](https://wordpress.org/support/users/devsimmao/)
 * Thanks so much for helping us find this issue. We’re going to work on a patch
   right now. If you want to test it before we push it to general release, I will
   share the link via this thread.
 * > In that case, there’s nothing wrong with my website, right?
 * Correct, there isn’t anything wrong with your site.
 * Kind Regards
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16752167)
 * Yes, I would like to test it.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16756083)
 * Hi [@devsimmao](https://wordpress.org/support/users/devsimmao/)
 * Here is a link to a patched version which you can test. [Patched version](https://drive.google.com/file/d/139SBzXdbSY1LEB1iFCJDrI_ZZnj9mJET/view?usp=share_link)
 * Please let us know if that resolves your issue.
 * Kind Regards
 *  Thread Starter [devsimmao](https://wordpress.org/support/users/devsimmao/)
 * (@devsimmao)
 * [3 years ago](https://wordpress.org/support/topic/error-processing-payment-7/#post-16757902)
 * Thank you very much! If the issue is not resolved I’ll let you know.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/error-processing-payment-7/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-processing-payment-7/page/2/?output_format=md)

The topic ‘Error processing payment’ is closed to new replies.

 * ![](https://ps.w.org/pymntpl-paypal-woocommerce/assets/icon-256x256.png?rev=2718338)
 * [Payment Plugins for PayPal WooCommerce](https://wordpress.org/plugins/pymntpl-paypal-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pymntpl-paypal-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pymntpl-paypal-woocommerce/reviews/)

 * 16 replies
 * 5 participants
 * Last reply from: [augustus1996](https://wordpress.org/support/users/augustus1996/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/error-processing-payment-7/page/2/#post-16786789)
 * Status: resolved