带帐号和路由号码的超薄CD

时间:2015-04-07 04:09:27

标签: php

我已经通过谷歌搜索了使用PHP使用帐号和路由号码查找超薄CD付款。我没有得到任何有用的资源,任何人都可以帮我解决这个问题吗?

include 'slimcd.php';

// Create the Slim CD object
$SlimCD = new SlimCD() ;

// Create a ProcessTransaction Request class
$request = new Transact_ProcessTransactionRequest() ;
$request->username = '1032';
$request->password = '289075';
$request->clientid = '1032';
$request->siteid = 228226448 ;
$request->priceid = 74 ;
$request->transtype = 'SALE' ;
$request->amount = '10.00' ;
$request->cardnumber = '4111111111111111' ;
$request->expmonth = '12' ;
$request->expyear = '49' ;
$request->product = 'MyPHP' ;
$request->ver = '1.0' ;
$request->key = 'SVD-072-5QQ6-5K58' ;
$reply = $SlimCD->Transact_ProcessTransaction($request);
echo var_dump($reply) ;

这是用于信用卡交易。我需要帐户借记代码。

我尝试以下代码。我得到了下面提到的问题。

function accPay()
{
    $SlimCD = new SlimCD() ;
    $request = new Transact_ProcessTransactionRequest() ;
    $request->username = '1032';
    $request->password = '289075';
    $request->clientid = '1032';
    $request->siteid = 228226448;
    $request->priceid = 74;
    $request->transtype = "SALE";
    $request->amount = "10" ;
    $request->accountno = "1111111111";
    $request->routeno = "222222222";
    $request->product = 'MyPHP';
    $request->ver = '1.0';
    $request->key = 'SVD-072-5QQ6-5K58';
    $reply = $SlimCD->Transact_ProcessTransaction($request);
    return $reply;
}



 {"response":"Error","responsecode":2,"description":"*--NEED_EXPMONTH--NEED_EXPYEAR--NEED_CARDNUMBER.","responseurl":"http:\/\/stats.slimcd.com\/wswebservices\/transact.asmx\/ProcessTransaction","datablock":{"authcode":"","approved":"E","cvv2reply":"","avsreply":"","gateid":0,"bankid":null,"corporatecardindicator":"","invoiceno":"","firstname":"","lastname":"","cardtype":"","last4":"","expmonth":"","expyear":"","processor_token":"","emvreplytags":"","approvedhsaamt":null,"approvedamt":0,"bal":null,"returncheckservicecharge":null}}

0 个答案:

没有答案