CommerceWeavers / SyliusTpayPlugin

MIT License
0 stars 1 forks source link

Handle refunds made via Tpay panel #18

Closed jakubtobiasz closed 1 month ago

jakubtobiasz commented 1 month ago

Tpay allows to make a refund using their panel. Once a full refunded is performed, a notification is sent, so the \CommerceWeavers\SyliusTpayPlugin\Payum\Action\Api\NotifyAction and \CommerceWeavers\SyliusTpayPlugin\Controller\PaymentNotificationAction classes might be helpful here.

Unfortunately, it seems we are unable to detect a partial refund, but we may ask Tpay team about that.

Small wins 🏆

jakubtobiasz commented 1 month ago

Closing as while implementing #17 I've noticed refunding from the Tpay panel also changes the payment status, as while implementing #4 I've handled the CHARGEBACK status 🤠.