Paypal Express上的Paypal自定义金额类型 [英] Paypal Custom amount type on Express
问题描述
我正在为一家餐厅网站集成Express Checkout,并且希望在Paypal审核页面上的订单明细中显示提示"(不含税和小计).喜欢:
I am integrating Express Checkout for a restaurant website, and would like to show "Tip" apart from taxes and subtotal on the Paypal review page order details. Like:
[单个商品的详细信息]
[Individual item details]
..
项目总计$ 20
课税$ 2
提示$ 4
总计$ 26
我在这里引用了api: https://developer.paypal.com /docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
I have referred api here : https://developer.paypal.com/docs/classic/api/merchant/SetExpressCheckout_API_Operation_NVP/
和此处: https://developer.paypal. com/docs/classic/express-checkout/integration-guide/ECCustomizing/
,请注意此参数PAYMENTREQUEST_n_CUSTOM
,但它仅接受"256个单字节字母数字字符".
我怎样才能做到这一点?预先感谢
and notice this parameter PAYMENTREQUEST_n_CUSTOM
, but it only accepts "256 single-byte alphanumeric characters."
How can I achieve this? Thanks in advance
推荐答案
参数PAYMENTREQUEST_n_CUSTOM与唯一代码相关联,该唯一代码将分配给您使用贝宝快速付款结帐API设置的每个产品.
Parameter PAYMENTREQUEST_n_CUSTOM is associated with a unique code which will be assigned to each product which you set using paypal express checkout API.
用于项目总计
PAYMENTREQUEST_n_ITEMAMT和PAYMENTREQUEST_n_AMT
PAYMENTREQUEST_n_ITEMAMT and PAYMENTREQUEST_n_AMT
使用税款
PAYMENTREQUEST_n_TAXAMT
PAYMENTREQUEST_n_TAXAMT
使用提示
PAYMENTREQUEST_n_HANDLINGAMT
PAYMENTREQUEST_n_HANDLINGAMT
这篇关于Paypal Express上的Paypal自定义金额类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!