Azuriom / Plugin-Shop

A shop plugin to sell in-game items on your website.
https://market.azuriom.com/resources/1
MIT License
18 stars 31 forks source link

Chargebacks/refunds not updated #188

Closed crashzk closed 7 months ago

crashzk commented 7 months ago

After a payment for the product is made the status is marked as Completed.

image

However, in the case of a Refund or Chargeback, this status does not update.

This payment was even a payment refund but the status is still marked as Completed.

crashzk commented 7 months ago

I don't know if it had anything to do with it, but I received this error log too.

MrMicky-FR commented 7 months ago

With which payment gateway do you have this issue ?

MrMicky-FR commented 7 months ago

According to your screen it’s with Mercado Pago, in this case it’s an issue with the MercadoPago payment gateway, so you would have to report this issue to its developer

crashzk commented 7 months ago

With which payment gateway do you have this issue ?

Mercado Pago, I'll be talking to the payment gateway developer, so I'll get back to you with anything.

I will also be testing with those that already come with the Shop plugin as well.

crashzk commented 7 months ago

@MrMicky-FR I used PayPal, the user made the payment normally, everything was fine, he was charged.

However, the Azuriom panel did not register the purchase on PayPal and generated an error log.

However, after a few minutes the sale registered, would it be normal?

image

Then I gave him a refund, and he still didn't update the purchase status either.

[EDIT1] It took a little longer than the payment, but it registered the refund, better marked as Error, error log updated as well.

image

MrMicky-FR commented 7 months ago

The error log is caused by a database connection issue

crashzk commented 7 months ago

The error log is caused by a database connection issue

Ok, I'll check with my web host about the connection issue to see if we can fix it.

Regarding the payment status, shouldn't it be marked as Refund like I did for it, or even Chargeback when the user forces the refund?

Or does Azuriom currently not support status updates based on Refund or Chargeback?

[EDIT1]

Regarding the connection to the database, as my website and database are on the same host I used localhost in the IP, could this cause any connection problems?