paypal pro api中有时候没有回复

时间:2014-11-26 05:49:25

标签: paypal paypal-sandbox paypal-subscriptions

我在沙盒模式下使用paypal pro。我为api设置了正确的api用户名,密码和签名。

我使用的是演示信用卡号:' 4111111111111111',cvv no:' 123',ex date:01/2016。但有时候回复是空白的。我正在使用AngellEYE_PHPClass。响应数组如下。

阵 (     [错误] =>排列         (         )

[REQUESTDATA] => Array
    (
        [USER] => ######################
        [PWD] => #################
        [VERSION] => ###############
        [BUTTONSOURCE] => AngellEYE_PHPClass
        [SIGNATURE] => #######################
        [METHOD] => CreateRecurringPaymentsProfile
        [TOKEN] => 
        [SUBSCRIBERNAME] => Tom Company XX
        [PROFILESTARTDATE] => 2014-11-25 23:29:21
        [PROFILEREFERENCE] => 
        [DESC] => Subscription For business
        [MAXFAILEDPAYMENTS] => 2
        [AUTOBILLAMT] => 
        [TRIALBILLINGPERIOD] => 
        [TRIALBILLINGFREQUENCY] => 
        [TRIALTOTALBILLINGCYCLES] => 
        [TRIALAMT] => 
        [BILLINGPERIOD] => Month
        [BILLINGFREQUENCY] => 1
        [TOTALBILLINGCYCLES] => 0
        [AMT] => 5.00
        [CURRENCYCODE] => USD
        [SHIPPINGAMT] => 
        [TAXAMT] => 
        [INITAMT] => 
        [FAILEDINITAMTACTION] => 
        [CREDITCARDTYPE] => Visa
        [ACCT] => ########################
        [EXPDATE] => 012016
        [CVV2] => 123
        [STARTDATE] => 
        [ISSUENUMBER] => 
        [EMAIL] => #####################
        [PAYERID] => 
        [PAYERSTATUS] => 
        [BUSINESS] => 
        [SALUTATION] => 
        [FIRSTNAME] => Tom Company
        [MIDDLENAME] => 
        [LASTNAME] => Tom Company
        [SUFFIX] => 
        [STREET] => Kolkata
        [STREET2] => 
        [CITY] => Kolkata
        [STATE] => West Bengal
        [COUNTRYCODE] => IN
        [ZIP] => 700001
        [PHONENUM] => 
        [SHIPTONAME] => 
        [SHIPTOSTREET] => 
        [SHIPTOSTREET2] => 
        [SHIPTOCITY] => 
        [SHIPTOSTATE] => 
        [SHIPTOZIP] => 
        [SHIPTOCOUNTRY] => 
        [SHIPTOPHONENUM] => 
    )

[RAWREQUEST] => USER=#############&PWD=############&VERSION=##########&BUTTONSOURCE=AngellEYE_PHPClass&SIGNATURE=#####################################&METHOD=CreateRecurringPaymentsProfile&TOKEN=&SUBSCRIBERNAME=Tom+Company+XX&PROFILESTARTDATE=2014-11-25+23%3A29%3A21&PROFILEREFERENCE=&DESC=Subscription+For+business&MAXFAILEDPAYMENTS=2&AUTOBILLAMT=&TRIALBILLINGPERIOD=&TRIALBILLINGFREQUENCY=&TRIALTOTALBILLINGCYCLES=&TRIALAMT=&BILLINGPERIOD=Month&BILLINGFREQUENCY=1&TOTALBILLINGCYCLES=0&AMT=5.00&CURRENCYCODE=USD&SHIPPINGAMT=&TAXAMT=&INITAMT=&FAILEDINITAMTACTION=&CREDITCARDTYPE=Visa&ACCT=4111111111111111&EXPDATE=012016&CVV2=123&STARTDATE=&ISSUENUMBER=&EMAIL=#################&PAYERID=&PAYERSTATUS=&BUSINESS=&SALUTATION=&FIRSTNAME=Tom+Company&MIDDLENAME=&LASTNAME=Tom+Company&SUFFIX=&STREET=Kolkata&STREET2=&CITY=Kolkata&STATE=West+Bengal&COUNTRYCODE=IN&ZIP=700001&PHONENUM=&SHIPTONAME=&SHIPTOSTREET=&SHIPTOSTREET2=&SHIPTOCITY=&SHIPTOSTATE=&SHIPTOZIP=&SHIPTOCOUNTRY=&SHIPTOPHONENUM=

[RAWRESPONSE] => 

这背后的原因是什么?

1 个答案:

答案 0 :(得分:0)

我在开发者网站上遇到了同样的问题,我认为这可能是由

引起的
  • 防火墙
  • Web服务器上的http身份验证
  • 或者这一点See Here