bigcommerce - BigCommerce 中未返回的所有付款方式 Get Accepted Payment method rest api
问题描述
我在我的 React Native 应用程序中使用BigCommerce Rest API为 BigCommerce 网站创建电子商务应用程序。我正在使用 BigCommerce REST API 完成所有功能,例如获取产品、创建购物车、创建结帐等。
现在,有一个 API 可以获取所有接受的结帐付款方式。api:https ://developer.bigcommerce.com/api-reference/store-management/payment-processing/accepted-methods/paymentsmethodsget
因此,当我使用所有必需的参数和标头调用此 API 时,我在响应中只获得一种付款方式。但是,我已经从管理员那里设置了许多其他付款方式选项。
还有另一个 API Get All Payment method,它返回我设置的所有支付方式。但返回的付款方式数据不包含payment method id
. 我需要一个付款方式 ID 才能在下一步传递它。
请问有谁知道如何在 BigCommerce REST API 中使用其 ID 获取所有接受的付款方式?
解决方案
It's to my belief that this is working as expected. The v3/payments/methods returns only a list of providers that are supported by our public payments api. This list does not include COD, so that's why that one is missing. You likely don’t see Paypal because it is Paypal Commerce Platform, which is also not expected to be returned.
As a note, this endpoint is tied to an order so if certain providers have restrictions on order total or products or things like that, they might appear/or not appear depending on those values.
推荐阅读
- linode - 如何更改 linode 服务器中的日期和时间
- azure-cosmosdb - 如果我们知道其中的一部分,cosmos db 中的跨分区查询会有所帮助吗
- mfc - MFC:当使用 CImageList/CListCtrl/CTreeCtrl 方法进行拖放操作时,如何显示 + 指示符?
- amazon-web-services - 如何将 aws 托管的网络服务器隐藏在 vpn 或代理后面
- kubernetes - Kubernetes - 外部 IP 与内部 IP
- here-api - 在地方 API 中包含评论、评分和图像
- python - 当 ModelForm CheckboxSelectMultiple 选择为“id”时,“id”字段的 KeyError
- azure - 我收到 Azure REST API 403 禁止错误
- html - 如何在没有的情况下打破长句
- css - 水平溢出必须从右元素 AMP only CSS 开始