امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
What is the best way to validate / test refunding a purchasbles? Similarly, how do I check if the refunded value is partial vs full?
I believe $purchaseRequest = $state->getPurchaseRequest(); $purchaseRequest->cost; would get me the original cost, but I'm how do I leverage the refunded amount returned back by the payment provider? In PayPal's case, this would be mc_gross/payment_gross (which I'm not sure what the difference is from PayPal on mc_gross / payment_gross either
)).
I believe $purchaseRequest = $state->getPurchaseRequest(); $purchaseRequest->cost; would get me the original cost, but I'm how do I leverage the refunded amount returned back by the payment provider? In PayPal's case, this would be mc_gross/payment_gross (which I'm not sure what the difference is from PayPal on mc_gross / payment_gross either
