PayPal REST 订阅 API 未在订单摘要中显示价格 [英] PayPal REST Subscriptions API not showing price in order summary

查看:20
本文介绍了PayPal REST 订阅 API 未在订单摘要中显示价格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在沙盒环境中测试用于订阅的 PayPal REST API,并注意到,当转到创建协议后返回的批准 URL 时,页面左侧的订单摘要窗格下没有显示价格.显示了说明,但没有价格/税费等.

I am testing the PayPal REST API for subscriptions in the sandbox environment, and have noticed that, when going to the approval URL returned after creating an agreement, no price is shown under the order summary pane on the left of the page. A description is shown but no price/tax etc.

计划 ID 被传递到调用以创建协议,其中包含我希望作为用户在批准付款时看到的信息.这是错误还是我应该在商家帐户中启用某些内容,或者在创建协议时需要发送的其他内容?我已经阅读了关于堆栈溢出的其他帖子(尽管它们早于订阅 REST API 的创建)谈论传递事务字段,但这在订阅创建协议架构中无效.

The plan id is passed to the call to create an agreement, which contains the information that I would expect to see as a user when approving the payment. Is this a bug or is there something that I am supposed to enable in the merchant account, or perhaps something additional that needs to be sent when creating the agreement? I've read other posts regarding this on stack overflow (although they predate the creation of the subscriptions REST API) talking about passing a transaction field, but this isn't valid in the subscriptions create agreement schema.

推荐答案

您的观察(目前)是正确的.由于基于 REST API 的计费计划基于 Express Checkout Recurring Payments,您将看到类似的行为.目前,有两种选择:

Your observations are (currently) correct. As REST API based Billing Plans are based on Express Checkout Recurring Payments, you're going to see a similar behavior. Right now, there are two options:

  1. 您使用更多协议详细信息填充说明.
  2. 在您签署协议之前,您传递了常规说明并确保客户了解计费条款.

展望未来,我们可能会在以后的一些更新中包含此信息.我正在跟进此事,以确保为此提交用户故事.

Going forward, we're likely going to include this info in some later updates. I'm following up with that to make sure a user story is filed for this.

这篇关于PayPal REST 订阅 API 未在订单摘要中显示价格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆