����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.144.149.217 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/ideyshare.name.ng/app/libraries/vendor/omnipay/payflow/src/Message/ |
Upload File : |
<?php namespace Omnipay\Payflow\Message; /** * Payflow Refund Request * * ### Example * * <code> * // Create a gateway for the Payflow pro Gateway * // (routes to GatewayFactory::create) * $gateway = Omnipay::create('Payflow_Pro'); * * // Initialise the gateway * $gateway->initialize(array( * 'username' => $myusername, * 'password' => $mypassword, * 'vendor' => $mymerchantid, * 'partner' => $PayPalPartner, * 'testMode' => true, // Or false for live transactions. * )); * * // Create a credit card object * // This card can be used for testing. * $card = new CreditCard(array( * 'firstName' => 'Example', * 'lastName' => 'Customer', * 'number' => '4111111111111111', * 'expiryMonth' => '01', * 'expiryYear' => '2020', * 'cvv' => '123', * )); * * // Do a purchase transaction on the gateway * $transaction = $gateway->purchase(array( * 'amount' => '10.00', * 'currency' => 'AUD', * 'card' => $card, * )); * $response = $transaction->send(); * if ($response->isSuccessful()) { * echo "Purchase transaction was successful!\n"; * $sale_id = $response->getTransactionReference(); * echo "Transaction reference = " . $sale_id . "\n"; * } * * // Refund the purchase * $transaction = $gateway->refund(array( * 'amount' => '10.00', * 'transactionReference' => $sale_id, * )); * $response = $transaction->send(); * if ($response->isSuccessful()) { * echo "Refund transaction was successful!\n"; * $refund_id = $response->getTransactionReference(); * echo "Refund reference = " . $refund_id . "\n"; * } * </code> */ class RefundRequest extends CaptureRequest { protected $action = 'C'; }