Opentmbeki wants to merge 2 commits into main from feat/partial-refunds· opened 2 days ago
+53−3
tmbeki commented 2 days agoAuthor
What
Merchants currently email support to refund a charge. This adds a "Refund" page on the charge detail
screen where they can refund all or part of a charge themselves.
How
RefundForm with an amount and an optional reason
refund_charge view calls the gateway, records a Refund row and updates the charge status
New URL charges/<id>/refund/
Testing
Refunded a 50.00 test charge in two steps against the gateway sandbox.
What
Merchants currently email support to refund a charge. This adds a "Refund" page on the charge detail screen where they can refund all or part of a charge themselves.
How
RefundFormwith an amount and an optional reasonrefund_chargeview calls the gateway, records aRefundrow and updates the charge statuscharges/<id>/refund/Testing
Refunded a 50.00 test charge in two steps against the gateway sandbox.
Closes #612