POS: Allow clients to fetch payment details

This commit is contained in:
Raphael Michel
2022-04-15 14:09:51 +02:00
parent 5cd79ee2b0
commit e9c440ceed

View File

@@ -955,6 +955,8 @@ class BoxOfficeProvider(BasePaymentProvider):
return {
"pos_id": payment.info_data.get('pos_id', None),
"receipt_id": payment.info_data.get('receipt_id', None),
"payment_type": payment.info_data.get('payment_type', None),
"payment_data": payment.info_data.get('payment_data', {}),
}
def payment_control_render(self, request, payment) -> str: