贝宝自适应支付-描述字段 [英] PayPal Adaptive Payments - description field

查看:67
本文介绍了贝宝自适应支付-描述字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的网站使用Paypal自适应支付.我有不同的卖家和不同的产品,但是问题是,当用户在付款摘要中从我的网站购买商品时,卖家的名字和姓氏而不是产品名称!

I'm using paypal adaptive payments for my website. I have different sellers and different products but the problem is that when a user buy something from my website in the payment summary there is the name and surname of the seller instead of the product name!

我正在寻找要传递的参数,以显示产品名称,而不是我的名称和卖方的名称.我使用PHP重定向到贝宝页面.

I'm looking for a parameter to pass to display the product name instead of my name and the seller's name. I use PHP to redirect to the paypal's page.

谢谢!

推荐答案

使用自适应支付,您将需要使用SetPaymentOptions API Operation来修改这些字段(订单项,公司名称等),您可以找到所有变量此处.

With Adaptive Payments you will need to use SetPaymentOptions API Operation in order to modify those fields (line item, business name, etc), you can find all the variables here.

您可以在此处找到示例: https://github.com/paypal/adaptivepayments-sdk-php/blob/master/samples/SetPaymentOptions.php

You can find an example here: https://github.com/paypal/adaptivepayments-sdk-php/blob/master/samples/SetPaymentOptions.php

订单项仅适用于嵌入式流.

Line item works with embedded flow only.

这篇关于贝宝自适应支付-描述字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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