ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 26,889
- Points
- 823
Reputation:
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
)).
Continue reading...
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
Continue reading...