forked from LiveCarta/PayPal-PHP-SDK
Update RefundCapture.php
Restored removed refundRequest code to make sample functional again
This commit is contained in:
@@ -13,6 +13,8 @@ use PayPal\Api\RefundRequest;
|
|||||||
// ### Refund
|
// ### Refund
|
||||||
// Create a refund object indicating
|
// Create a refund object indicating
|
||||||
// refund amount and call the refund method
|
// refund amount and call the refund method
|
||||||
|
$refundRequest = new RefundRequest();
|
||||||
|
$refundRequest->setAmount($amt);
|
||||||
|
|
||||||
// Replace $captureId with any static Id you might already have.
|
// Replace $captureId with any static Id you might already have.
|
||||||
$captureId = "<your authorization id here>";
|
$captureId = "<your authorization id here>";
|
||||||
|
|||||||
Reference in New Issue
Block a user