Duplicate Invoice ID detected | WordPress.org

Any idea how to fix this? I think this is happening when a customers try to pay the same order again after the first payment don’t work (of the same order). This can happen if the false password was used or the 2FA code is false.

Error in backend:
Error processing payment. Reason: Duplicate Invoice ID detected. To avoid a potential duplicate transaction your account setting requires that Invoice Id be unique for each transaction.

debug:

2022-09-19T18:43:41+00:00 ERROR API error: Array
(
    [url] => https://api-m.paypal.com/v2/checkout/orders/3TG225xxxxxx/capture
    [method] => POST
    [request] => Array
(
)

    [error] => Array
        (
            [name] => UNPROCESSABLE_ENTITY
            [details] => Array
                (
                    [0] => Array
                        (
                            [issue] => DUPLICATE_INVOICE_ID
                            
						
						

Replies: 4

Any idea how to fix this? I think this is happening when a customers try to pay the same order again after the first payment don’t work (of the same order). This can happen if the false password was used or the 2FA code is false.

Error in backend:
Error processing payment. Reason: Duplicate Invoice ID detected. To avoid a potential duplicate transaction your account setting requires that Invoice Id be unique for each transaction.

debug:

2022-09-19T18:43:41+00:00 ERROR API error: Array
(
    [url] => https://api-m.paypal.com/v2/checkout/orders/3TG225xxxxxx/capture
    [method] => POST
    [request] => Array
(
)

    [error] => Array
        (
            [name] => UNPROCESSABLE_ENTITY
            [details] => Array
                (
                    [0] => Array
                        (
                            [issue] => DUPLICATE_INVOICE_ID
                            [description] => Duplicate Invoice ID detected. To avoid a potential duplicate transaction your account setting requires that Invoice Id be unique for each transaction.
                        )

                )

            [message] => The requested action could not be performed, semantically incorrect, or failed business validation.
            [debug_id] => cf4a8xxxx
            [links] => Array
                (
                    [0] => Array
                        (
                            [href] => https://developer.paypal.com/docs/api/orders/v2/#error-DUPLICATE_INVOICE_ID
                            [rel] => information_link
                            [method] => GET
                        )

                )

        )

)
  • This topic was modified 11 hours, 29 minutes ago by fox-didl.

=> Duplicate Invoice ID detected. To avoid a potential duplicate transaction your account setting requires that Invoice Id be unique for each transaction.
)

)

[message] => The requested action could not be performed, semantically incorrect, or failed business validation.
[debug_id] => cf4a8xxxx
[links] => Array
(
[0] => Array
(
[href] => https://developer.paypal.com/docs/api/orders/v2/#error-DUPLICATE_INVOICE_ID
[rel] => information_link
[method] => GET
)

)

)

)

  • This topic was modified 11 hours, 29 minutes ago by fox-didl.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Your Advertisement Here