duan205571 2015-06-06 13:46
浏览 71

PayPal Pay-Flow交易失败

I have tried to make a test transaction using PayPal Advance with below array of request

My Request to PayPal Pay-flow :

Array
(
    [PARTNER] => paypal
    [VENDOR] => MyVENDOR
    [USER] => MyUSER
    [PWD] => MyPWD
    [TRXTYPE] => S
    [AMT] => 1
    [CURRENCY] => USD
    [CREATESECURETOKEN] => Y
    [SECURETOKENID] => DF0ej9MfITxolvm32wqQZSE17ONrACck
    [RETURNURL] => http://mywebsite.com/success/
    [CANCELURL] => http://mywebsite.com/payment/
    [ERRORURL] => http://mywebsite.com/payment/
    [BILLTOFIRSTNAME] => test
    [BILLTOLASTNAME] => test
    [BILLTOSTREET] => test
    [BILLTOCITY] => test
    [BILLTOSTATE] => test
    [BILLTOZIP] => test Postal
    [BILLTOCOUNTRY] => Test Country

}

Getting Response in $response :

Array
(
    [RESULT] => 0
    [RESPMSG] => Approved
    [SECURETOKEN] => 8aCzrm8u9OkejgNQi13ZPXwsJ
    [SECURETOKENID] => 1rLHxvk4i7S80cqQACUlEY6DNVKnZgBI
)

Then loading PayPal transaction window in Iframe as in PayPal docs

$securetoken = $response['SECURETOKEN'];
$securetokenid = $response['SECURETOKENID'];

$mode='TEST';

/*mode='LIVE';*/


 <iframe src='https://payflowlink.paypal.com?SECURETOKEN=$securetoken&SECURETOKENID=$securetokenid&MODE=$mode' width='490' height='565' border='0' frameborder='0' scrolling='no' allowtransparency='true'>
</iframe>

But every time i am getting error and transaction getting failed.

Declined: 10544-Please use a different payment card.

Declined 1000 Generic host error.

and also other error random error like Your transaction could not be completed..

I also tried with Live mode and test mode but getting same error.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
    • ¥20 西门子S7-Graph,S7-300,梯形图
    • ¥50 用易语言http 访问不了网页
    • ¥50 safari浏览器fetch提交数据后数据丢失问题
    • ¥15 matlab不知道怎么改,求解答!!
    • ¥15 永磁直线电机的电流环pi调不出来
    • ¥15 用stata实现聚类的代码
    • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
    • ¥20 docker里部署springboot项目,访问不到扬声器
    • ¥15 netty整合springboot之后自动重连失效