Paypal REST API自适应/多次付款(更改收款人) [英] Paypal REST API Adaptive / Multiple Payments (change payee)

查看:104
本文介绍了Paypal REST API自适应/多次付款(更改收款人)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始查看Paypal的 REST api .我似乎看不到的一件事是功能Paypal调用自适应支付 .这使我可以使用我的开发者帐户注册我的应用,但不参与实际付款.例如我的应用程序允许我的用户接受通过我的应用程序销售的服务付款.

I've just started looking at Paypal's REST api. One thing I can't seem to see is a feature paypal call Adaptive Payments. This allows me to register my app with my developer account, but not be involved in the actual payments. e.g. my app allows my users to accept payment for their services, which they sell through my app.

我已经浏览过Paypals REST API文档.我已经解决了如何完成付款的问题,但是所有交易都被发送到了我的开发人员的贝宝帐户.我找不到要更改收款人详细信息(即卖方)的位置,以允许将付款发送到其他Paypal帐户.

I have been through Paypals REST API documents. I have worked out how to complete a payment, but all the transactions get sent through to my developer paypal account. I can't find where i would change the receiver details, i.e. the seller, to allow payments to be sent to a different paypal account.

推荐答案

自2017年1月3日起,贝宝(PayPal)现在已经可以将收款人设置为您想要的任何人.

As of January 3rd 2017, PayPal has now added the ability to set the payee to anyone you wish.

请注意以下新的payee对象:

{
    'intent':'sale',
    'redirect_urls':{
        'return_url':'http://localhost:3000/process',
        'cancel_url':'http://localhost:3000/cancel'
    },
    'payer':{
        'payment_method':'paypal'
    },
    'transactions':[{
        'amount':{
            'total':'10',
            'currency':'USD'
        },
        'payee':{
            'email': 'payee@test.com'
        },
        'description':'My amazing product'
    }]
}

但是,似乎没有能力拥有多个收款人.

However, there doesn't seem to be an ability to have multiple payee's.

此处的其他信息: https://devblog.paypal.com/setting-payee/

这篇关于Paypal REST API自适应/多次付款(更改收款人)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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