/home/desid573/public_html/payment
NameSizeModeActions
assets/-0755rm
eway-rapid-php-master/-0755rm
pdd/-0755rm
xero/-0755rm
xero-2/-0755rm
xero-php-oauth2-master/-0755rm
10.php19410644editdlrm
11.php9920644editdlrm
approved.php15130644editdlrm
a_name_address.php9310644editdlrm
checktime.php14360644editdlrm
driverCheck.php7940644editdlrm
eCrypt.js684240644editdlrm
eway-rapid-php-master.zip572700644editdlrm
eWay.php426970644editdlrm
index.php560450644editdlrm
index1.php345060644editdlrm
index15May.php483660644editdlrm
indexOLD.php417930644editdlrm
indexTest.php425170644editdlrm
payment-shutdown.log5170644editdlrm
quote.php72180644editdlrm
test.php18710644editdlrm
thankyou.php241440644editdlrm
thankyouOLD.php301100644editdlrm
thankyouTest.php219500644editdlrm
tokenUpdate.php106730644editdlrm
updatetoken.php36960644editdlrm
xero-2-2.zip28341780644editdlrm
Edit: /home/desid573/public_html/payment/updatetoken.php (3696B)
Payment - Processed 'au', 'TokenCustomerID' => $_POST['token'], 'CardDetails' => [ 'Name' => $_POST['fullname'], 'Number' => $_POST['EWAY_CARDNUMBER'], 'ExpiryMonth' => $_POST['EWAY_CARDEXPIRYMONTH'], 'ExpiryYear' => $_POST['EWAY_CARDEXPIRYYEAR'], ] ]; $response = $client->updateCustomer(\Eway\Rapid\Enum\ApiMethod::DIRECT, $customer); if ($response->getErrors()) { foreach ($response->getErrors() as $error) { $errormessage.= "Error: $error (".\Eway\Rapid::getMessage($error).")
\n"; } echo "
".$errormessage."
"; } else { echo "
Card Successfully Updated

"; if($_REQUEST['url'] != "") { echo "Retry Payment"; } echo "
"; $slackmessage = $_POST['fullname']." has updated their card"; $curlObj = curl_init(); curl_setopt($curlObj, CURLOPT_URL, 'https://hooks.slack.com/services/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'); curl_setopt($curlObj, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curlObj, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($curlObj, CURLOPT_HEADER, 0); curl_setopt($curlObj, CURLOPT_HTTPHEADER, array('Content-type:application/json')); curl_setopt($curlObj, CURLOPT_POST, 1); curl_setopt($curlObj, CURLOPT_POSTFIELDS, '{"text": "'.$slackmessage.'"}'); $response = curl_exec($curlObj); curl_close($curlObj); } } ?>