1

我想使用 Shopify checkapi 进行自定义结帐。我有一个带有自定义详细信息的结帐表格,客户下订单时的卡详细信息如下(JSON):

  POST /sessions HTTP/1.1
  Host: https://elb.deposit.shopifycs.com
  Content-Type: application/json
  Accept: application/json

  {
    "payment": {
     "amount": "100.00",
    "unique_token": "my-client-generated-idempotency-token",
    "credit_card":{
    "number": "1",
    "month": "12",
    "year": "2019",
    "verification_value": "123",
    "first_name":"John",
    "last_name":"Smith"
    }
  }
 }

我不明白如何使用表单发送数据。请帮我谈谈这个过程。

4

0 回答 0