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

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

问题描述

我正在为我的网站使用 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.

谢谢!!

推荐答案

使用 Adaptive Payments,您将需要使用 SetPaymentOptions API 操作来修改这些字段(行项目、企业名称等),您可以找到所有变量此处.

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天全站免登陆