Sindbad~EG File Manager

Current Path : /usr/home/beeson/public_html/helpwithmath_old/
Upload File :
Current File : /usr/home/beeson/public_html/helpwithmath_old/SimplifyPHPTest.php

<?php 
require_once("./SimplifyCommerce/lib/Simplify.php");

 
$SandboxPublicKey = 'sbpb_NDVjMjQ5N2UtZjEwYS00NGU5LWFmNmQtZmNhMGU2YjU0Nzhm';
$SandboxPrivateKey = 'mNcpIeiGTEudFE46c83VtFv7hEBRjUrIXxndku3VtbB5YFFQL0ODSXAOkNtXTToq';

 

Simplify::$publicKey = $SandboxPublicKey;
Simplify::$privateKey = $SandboxPrivateKey;
 
 
?>
 <html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Simplify Commerce PHP test</title>
    
       <?php 
           $cardToken = Simplify_CardToken::createCardToken(array(
           'card' => array(
           'addressState' => 'MO',
           'expMonth' => '11',
           'expYear' => '19',
           'addressCity' => 'OFallon',
           'cvc' => '123',
           'number' => '5105105105105100'
        )
));
 
print_r($cardToken->id);
echo("<br>y<br>");
        $payment = Simplify_Payment::createPayment(array(
        'amount' => '1000',
        'token' => $cardToken ->id, 
        'description' => 'payment description',
        'reference' => '7a6ef6be31',
        'currency' => 'USD'
        ));
        echo $payment->paymentStatus;
        echo "<br>x<br>";
                 
      ?> 
   
</body>
</html>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists