You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// __REFERENCE__ is optional$result = $transaction->Initialize()
// setting parameters one by one
->SetOptional('channels', ['eft']) // (Optional) if needed
->SetOptional('currency', 'USD') // (Optional) if needed// setting parameters as array
->SetAllOptionalAsArray(['channels'=> ['eft'], 'currency'=> 'USD']) // (Optional) if needed
->Execute(__CUSTOMER_EMAIL__, __AMOUNT_IN_CENT__, __REFERENCE__);
print_r($result);
$result = $transaction
->ChargeAuthorization()
// optionals can set here
->Execute(__customer_email__, __AMOUNT_IN_CENT__, __authorization_code__)
print_r($result);