mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Stripe: Add refund ID to export
This commit is contained in:
@@ -566,6 +566,11 @@ class StripeMethod(BasePaymentProvider):
|
|||||||
"payment_method": payment.info_data.get("payment_method", None)
|
"payment_method": payment.info_data.get("payment_method", None)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def api_refund_details(self, refund: OrderRefund):
|
||||||
|
return {
|
||||||
|
"id": refund.info_data.get("id", None),
|
||||||
|
}
|
||||||
|
|
||||||
def payment_control_render(self, request, payment) -> str:
|
def payment_control_render(self, request, payment) -> str:
|
||||||
if payment.info:
|
if payment.info:
|
||||||
payment_info = json.loads(payment.info)
|
payment_info = json.loads(payment.info)
|
||||||
|
|||||||
Reference in New Issue
Block a user