根據eBay訂單API文檔,您的請求有效負載很好,但是如果您檢查了來賓結帳樣本,它們在請求中沒有信用卡對象。他們還提到,如果您在此請求中沒有信用卡信息,那麼您可以致電updatePaymentInfoGuest
將信用卡信息添加到結帳會話。
作爲客人結帳時響應沒有有關該錯誤多的信息,我建議你嘗試以下....
呼叫更新支付與CRED-T卡信息資料: {
"contactEmail": "string",
"contactFirstName": "string",
"contactLastName": "string",
"creditCard": {
"accountHolderName": "string",
"billingAddress": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"country": "CountryCodeEnum : [AD,AE,AF,AG,AI,AL,AM,AN,AO,AQ,AR,AS,AT,AU,AW,AX,AZ,BA,BB,BD,BE,BF,BG,BH,BI,BJ,BL,BM,BN,BO,BQ,BR,BS,BT,BV,BW,BY,BZ,CA,CC,CD,CF,CG,CH,CI,CK,CL,CM,CN,CO,CR,CU,CV,CW,CX,CY,CZ,DE,DJ,DK,DM,DO,DZ,EC,EE,EG,EH,ER,ES,ET,FI,FJ,FK,FM,FO,FR,GA,GB,GD,GE,GF,GG,GH,GI,GL,GM,GN,GP,GQ,GR,GS,GT,GU,GW,GY,HK,HM,HN,HR,HT,HU,ID,IE,IL,IM,IN,IO,IQ,IR,IS,IT,JE,JM,JO,JP,KE,KG,KH,KI,KM,KN,KP,KR,KW,KY,KZ,LA,LB,LC,LI,LK,LR,LS,LT,LU,LV,LY,MA,MC,MD,ME,MF,MG,MH,MK,ML,MM,MN,MO,MP,MQ,MR,MS,MT,MU,MV,MW,MX,MY,MZ,NA,NC,NE,NF,NG,NI,NL,NO,NP,NR,NU,NZ,OM,PA,PE,PF,PG,PH,PK,PL,PM,PN,PR,PS,PT,PW,PY,QA,RE,RO,RS,RU,RW,SA,SB,SC,SD,SE,SG,SH,SI,SJ,SK,SL,SM,SN,SO,SR,ST,SV,SX,SY,SZ,TC,TD,TF,TG,TH,TJ,TK,TL,TM,TN,TO,TR,TT,TV,TW,TZ,UA,UG,UM,US,UY,UZ,VA,VC,VE,VG,VI,VN,VU,WF,WS,YE,YT,ZA,ZM,ZW]",
"county": "string",
"firstName": "string",
"lastName": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"brand": "string",
"cardNumber": "string",
"cvvNumber": "string",
"expireMonth": "integer",
"expireYear": "integer"
},
"lineItemInputs": [
{
"itemId": "string",
"quantity": "integer"
}
],
"shippingAddress": {
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"country": "CountryCodeEnum : [AD,AE,AF,AG,AI,AL,AM,AN,AO,AQ,AR,AS,AT,AU,AW,AX,AZ,BA,BB,BD,BE,BF,BG,BH,BI,BJ,BL,BM,BN,BO,BQ,BR,BS,BT,BV,BW,BY,BZ,CA,CC,CD,CF,CG,CH,CI,CK,CL,CM,CN,CO,CR,CU,CV,CW,CX,CY,CZ,DE,DJ,DK,DM,DO,DZ,EC,EE,EG,EH,ER,ES,ET,FI,FJ,FK,FM,FO,FR,GA,GB,GD,GE,GF,GG,GH,GI,GL,GM,GN,GP,GQ,GR,GS,GT,GU,GW,GY,HK,HM,HN,HR,HT,HU,ID,IE,IL,IM,IN,IO,IQ,IR,IS,IT,JE,JM,JO,JP,KE,KG,KH,KI,KM,KN,KP,KR,KW,KY,KZ,LA,LB,LC,LI,LK,LR,LS,LT,LU,LV,LY,MA,MC,MD,ME,MF,MG,MH,MK,ML,MM,MN,MO,MP,MQ,MR,MS,MT,MU,MV,MW,MX,MY,MZ,NA,NC,NE,NF,NG,NI,NL,NO,NP,NR,NU,NZ,OM,PA,PE,PF,PG,PH,PK,PL,PM,PN,PR,PS,PT,PW,PY,QA,RE,RO,RS,RU,RW,SA,SB,SC,SD,SE,SG,SH,SI,SJ,SK,SL,SM,SN,SO,SR,ST,SV,SX,SY,SZ,TC,TD,TF,TG,TH,TJ,TK,TL,TM,TN,TO,TR,TT,TV,TW,TZ,UA,UG,UM,US,UY,UZ,VA,VC,VE,VG,VI,VN,VU,WF,WS,YE,YT,ZA,ZM,ZW]",
"county": "string",
"phoneNumber": "string",
"postalCode": "string",
"recipient": "string",
"stateOrProvince": "string"
}
}
更新付款信息申請模式:
{ /* UpdatePaymentInformation */
"creditCard": { /* CreditCard */
"accountHolderName": "string",
"billingAddress": { /* BillingAddress */
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"country": "CountryCodeEnum : [AD,AE,AF...]",
"county": "string",
"firstName": "string",
"lastName": "string",
"postalCode": "string",
"stateOrProvince": "string"
},
"brand": "string",
"cardNumber": "string",
"cvvNumber": "string",
"expireMonth": "integer",
"expireYear": "integer"
}
}
您的要求似乎是正確的格式。我認爲最好能夠坦誠地聯繫ebay支持。 –
您的測試項目有運費?嘗試將固定價格的運送選項添加到您的測試項目。 –
嗨岡薩雷斯Gokhan,你可以請教如何添加固定定價選項項目? – Rini