大数跨境

现在,customerPaymentMethodRemoteCreate 需要支付方法标识符

现在,customerPaymentMethodRemoteCreate 需要支付方法标识符 Shopify电商独立站
2026-04-01
2
导读:截至 API 版本 2026-07,在使用 Stripe、Authorize.net 或 Braintree 输入时,customer Payment Method Remote Create 突变中

截至API版本2026-07,在使用customerPaymentMethodRemoteCreate突变并配合Stripe、Authorize.net或Braintree输入时,支付方法标识符字段现在为必填项。

受影响的字段如下:

  • paymentMethodId 在 RemoteStripePaymentMethodInput
  • customerPaymentProfileId 在 RemoteAuthorizeNetCustomerPaymentProfileInput
  • paymentMethodToken 在 RemoteBraintreePaymentMethodInput

这些字段此前在架构层面是可选的,但为了使支付方式能够正常工作,现在变为必填项。如果没有支付方式标识符,远程创建的支付方式将无法用于支付处理。此更改使 API 架构与现有的运行时要求保持一致。

如果您在调用此变更时已经传递了支付方式标识符,则无需进行任何更改。如果您尚未传递,请在采用 API 版本 2026-07 之前更新您的集成,以包含适用于您网关的相应标识符。

【声明】内容源于网络
0
0
Shopify电商独立站
1234
内容 7163
粉丝 0
Shopify电商独立站 1234
总阅读95.5k
粉丝0
内容7.2k