How to get payment fee in completePurchase(XF\Payment\CallbackState $state)?

After digging into PayPalRest.php code and doing some research, I think this might work: $state->resource['purchase_units'][0]['payments']['captures'][0]['seller_receivable_breakdown']['paypal_fee']['value']

What about Stripe and other providers?

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ