Keşfet

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

XFdestek

Kurucu Üye
Katılım
25 May 2014
Mesajlar
3,198
Tepkime puanı
284
Konum
Türkiye
Web sitesi
fivetu.xyz
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?
 

Konu görüntüleyen kullanıcılar

Benzer konular

Geri
Üst Alt