PayPal的定期付款资料查询将返回类似于其他任何PayPal“ RESULT”的参数字符串。其中大多数要么不言而喻,要么在文档中进行了说明。
我找不到RPSTATE
的任何解释。我正在对应用程序进行故障排除,并且希望从检查清单中删除此字符串参数。
这里有人知道RPSTATE
指向什么吗?
这里是PayPal返回的字符串的上下文中的参数(来源是PayPal的示例返回语句https://developer.paypal.com/docs/payflow/recurring-billing/#using-the-sdk-to-perform-recurring-tasks:]
RESULT=0&RPREF=R2X52F7AA3E9&PROFILEID=RT0000000278&STATUS=ACTIVE&CREATIONDATE=0410201
5&PROFILENAME=123456789/*&START=04112015&TERM=0&NEXTPAYMENT=12112019&PAYPERIOD=DAYS
&LASTCHANGED=12102019&RPSTATE=6&NEXTPAYMENTNUM=1706&COMMENT1=Pass Comment&
FREQUENCY=1&TENDER=C&AMT=1.00&ACCT=4012XXXXXXXX1881&EXPDATE=1018&AGGREGATEAMT=1705.00
&AGGREGATEOPTIONALAMT=5.00&MAXFAILPAYMENTS=0&NUMFAILPAYMENTS=0&RETRYNUMDAYS=0&
[email protected]&BILLTOFIRSTNAME=Lord&MBILLTOMIDDLENAME=Middle&
BILLTOLASTNAME=Nikkon&BILLTOSTREET=123 Main St&BILLTOCITY=Omaha&BILLTOSTATE=NE
&BILLTOZIP=12345&BILLTOCOUNTRY=US&BILLTOPHONENUM=403-234-5678&SHIPTOFIRSTNAME=Lord
&SHIPTOMIDDLENAME=Middle&SHIPTOLASTNAME=Nikkon&SHIPTOSTREET=123 Testing
&SHIPTOCITY=San Jose&SHIPTOSTATE=CA&SHIPTOZIP=67890&SHIPTOCOUNTRY=US
Tldr:RPSTATE=6
据我所知,在STATUS
字段中大部分都是多余的,您可以忽略它
6,7 :: active
8 :: matured or finished?
11,12 :: cancelled
>= 1000 :: deactivated