Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to process partial payments #83

Closed
ryssbowh opened this issue Jan 12, 2024 · 1 comment
Closed

Unable to process partial payments #83

ryssbowh opened this issue Jan 12, 2024 · 1 comment
Labels

Comments

@ryssbowh
Copy link

Description

I'm working on a website that needs to take partial payments through Paypal.
We have orders that are paid for, then an extra charge is added to it by an admin, and users need to pay the balance on the frontend.

We're getting a code 422 DUPLICATE_INVOICE_ID from paypal : "Duplicate Invoice ID detected. To avoid a potential duplicate transaction your account setting requires that Invoice Id be unique for each transaction.".

Since the invoice id is the order number it makes sense, we did send a transaction with the same invoice id on initial payment.

I'm surprised to not see any instance of it in my searches, maybe I'm missing something obvious here ?
Or does that sound like an issue in the plugin itself ?

Any pointers appreciated !

To Reproduce
How, and what happened?

  1. Pay for an order
  2. add a charge to the order
  3. Try to pay again

Additional info

  • Craft version: 3.8.17
  • Commerce PayPal Checkout version: 1.3.4
  • Commerce version: 3.4.22.1
  • PHP version: 7.4
@ryssbowh ryssbowh added the New label Jan 12, 2024
@ryssbowh
Copy link
Author

ryssbowh commented Jan 12, 2024

I did miss something obvious : https://wordpress.org/support/topic/error-what-is-the-next-step-to-fix-this/

You have to go into your PayPal account settings (don’t remember where exactly) and disable “prevent duplicate transactions”

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant