act360 / fonepay-for-woocommerce

3 stars 1 forks source link

Duplicate product Number (PRN) #1

Closed ghost closed 4 years ago

ghost commented 4 years ago

Getting this error when the first payment is failed and the customer tries to pay using Fonepay again.

act360 commented 4 years ago

Thank you @webpalnp for reporting the issue. Currently, PRN is woocommerce order id which doesn't change while trying to make payment again. And fonepay needs PRN to be unique which is failing the payment. It doesn't discard the old PRN even if the payment fails.

We'll work on the solution. At the mean time, please feel free to contribute if you can.

Regards,

lijnam commented 4 years ago

should be fixed with #2

act360 commented 4 years ago

@webpalnp this has been solved in this repo and an update in wordpress repository plugin will be available this week.

Thanks.