Search
 
SCRIPT & CODE EXAMPLE
 

PHP

omnipay refund

// Do a refund transaction on the gateway
$transaction = $gateway->refund(array(
    'amount'                   => '10.00',
    'transactionReference'     => $sale_id,
));
$response = $transaction->send();
if ($response->isSuccessful()) {
    echo "Refund transaction was successful!
";
    $refund_id = $response->getTransactionReference();
    echo "Transaction reference = " . $refund_id . "
";
}
Comment

PREVIOUS NEXT
Code Example
Php :: laravel csrf token or protection or laravel form 
Php :: php array merge 
Php :: Deutsch korrektur 
Php :: JsonResource withoutWrapping 
Php :: get woocommerce customers object 
Php :: extract date from datetime object in php 
Php :: onde fica o php ini ubuntu 
Php :: rerender block in twig 
Php :: cashier mollie 
Php :: return user details from controller to view 
Php :: cmb2-repeater video show single page with wordpress 
Php :: how to give dynamic value in onlick in php 
Php :: Regenerate session ID and remove all session data 
Php :: php pdo memory exhausted 
Php :: Laravel docker-compose 404 not found Nginx 
Php :: current Menu Item 
Php :: larvael die and dump facade 
Php :: Type cast using int php 
Php :: jquery media validation 
Php :: How to perform form inpot in laravel 8 and export database 
Php :: form alter drupal 9 language code 
Php :: GZIP COMPRESSION With PHP 
Php :: create or update laravel 5.8 stackoverflow 
Php :: checnge message no products were found matching your selection woocommerce edit 
Php :: php list all files in directory and subdirectories 
Php :: php array push key value 
Php :: php multiple array to single array 
Php :: laravel collection unique 
Php :: route 
Php :: php get final redirect url 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =