我已经开始收到错误:
Ack: Failure
Correlation ID: d1ed16a437fc9
Version: 85
Error Number: 13117
Short Message: Invalid Argument
Long Message: Subtotal amount is not valid.
在发出 BMCreateButton 请求时,脚本一直运行良好,任何人都可以看到下面的请求有什么问题吗?此外,我在任何地方都找不到说明小计应采用何种格式的规范。
METHOD=BMCreateButton
&VERSION=85
&PWD=xxxxxxx
&USER=xxxxxxx
&SIGNATURE=xxxxxxx
&BUTTONCODE=TOKEN
&BUTTONTYPE=PAYMENT
&L_BUTTONVAR0=address1=11 The Oaks
&L_BUTTONVAR1=address2=
&L_BUTTONVAR2=address_override=true
&L_BUTTONVAR3=billing_address1=11 The Oaks
&L_BUTTONVAR4=billing_address2=
&L_BUTTONVAR5=billing_city=Fleet
&L_BUTTONVAR6=billing_country=UNITED KINGDOM
&L_BUTTONVAR7=billing_first_name=Victoria
&L_BUTTONVAR8=billing_last_name=Fry
&L_BUTTONVAR9=billing_state=Hampshire
&L_BUTTONVAR10=billing_zip=GU51 4HQ
&L_BUTTONVAR11=business=XDQD9TZGYQ9YY
&L_BUTTONVAR12=buyer_email=xxxxxxx
&L_BUTTONVAR13=cancel_return=xxxxxxx
&L_BUTTONVAR14=city=Fleet
&L_BUTTONVAR15=country=UNITED KINGDOM
&L_BUTTONVAR16=currency_code=GBP
&L_BUTTONVAR17=first_name=Victoria
&L_BUTTONVAR18=invoice=8132
&L_BUTTONVAR19=last_name=Fry
&L_BUTTONVAR20=lc=US
&L_BUTTONVAR21=notify_url=xxxxxxx
&L_BUTTONVAR22=paymentaction=sale
&L_BUTTONVAR23=return=xxxxxxx
&L_BUTTONVAR24=shipping=0
&L_BUTTONVAR25=state=Hampshire
&L_BUTTONVAR26=subtotal=65
&L_BUTTONVAR27=zip=GU51 4HQ
这些值是 php url 编码的。
非常感谢您的任何建议。