Recently should a customer request, give him a ecshop website to develop the World payment (www.tfb8.com) online payment interface and pay-as-you-pay interface.
The world has its own cashier, integrated with all kinds of banks, is also good.
But the world pays the docking time is very troublesome, first in the test environment test, there is a special test merchant number, test through the need to test
Parameters and the returned results of the submission are sent to their technical support, the world pays the technical verification will be formally opened.
Other interfaces, such as the forwarding API, also need to send test parameters before they are opened. Basically, it's more formal.
$reqHandler->setparameter ("spid", $spid);
$reqHandler->setparameter ("Sp_userid", ' 101347613 ');
$reqHandler->setparameter ("Spbillno", Date (' Ymdhis '). Rand (10,99));
$reqHandler->setparameter ("Money", Intval ($_post[' Order_amount ') *100);
$reqHandler->setparameter ("Cur_type", ' 1 ');
$reqHandler->setparameter ("Notify_url", ' http://xxx.com/payNotifyUrl.php ');
$reqHandler->setparameter ("Return_url", ' http://xxx.com/payNotifyUrl.php ');
$reqHandler->setparameter ("Errpage_url", "');
$reqHandler->setparameter ("Memo", "Memo");
$reqHandler->setparameter ("Expire_time", "');
$reqHandler->setparameter ("Attach", ' attach ');
$reqHandler->setparameter ("Card_type", "1");
$reqHandler->setparameter ("bank_segment", ' 6666 ');
$reqHandler->setparameter ("User_type", "1");
$reqHandler->setparameter ("channel", $channel);
$reqHandler->setparameter ("Encode_type", $encode _type);
$reqHandler->setparameter ("Risk_ctrl", "" ");
The above is part of the code.
Finally note that the world payment currently only provides java,php, and C # version of the demo, or relatively rich.
Original from:
Http://www.0475seo.com/tech/2dev/308.html
There are other interfaces:
Yinsheng Payment Interface:
Http://www.0475seo.com/tech/2dev/287.html
Rainbow Payment Interface
Http://www.0475seo.com/tech/cms/285.html
Ching Payment Interface:
Http://www.0475seo.com/tech/cms/289.html
More interfaces from:
http://www.0475seo.com/s/onlinepay/
If you need to develop this interface can use QQ to communicate with me: BA 0 qi Wu 00 nine (804752009) annotated payment interface.
The world pays ECSHOP,THINKPHP,SHOPNC online payment interface, payment plug-in (Payment plugin with source)