它可以在PayPal付款而无需用户通过PayPal页面?
我不希望我的用户被定向到paypal页面,我想成为一个将所有信息发送到paypal,它被处理并给我一个答案,但用户永远不会离开我的网站?
这可能吗?
答案 0 :(得分:0)
出于安全原因,用户只能直接通过PayPal网站完成交易,也许您可以使用框架在您的网站上显示PayPal认证页面。
编辑:来自PayPal REST API:https://developer.paypal.com/webapps/developer/docs/integration/web/accept-paypal-payment/
If the call is successful, PayPal returns a confirmation of the transaction with the state set to created.
[...]
Get payment approval
Please note the HATEOAS links in the example above. Direct the user to the approval_url on the PayPal site, so that the user can approve the payment. The user must approve the payment before you can execute and complete the sale.
因此,您必须将用户引导至approval_url才能让他/她批准付款,否则您无法执行并完成销售。
答案 1 :(得分:0)
如果您想控制用户体验(没有重定向),Paypal会有白色标签替代品。
两个选项:Stripe为信用卡/借记卡交易提供白标API(2.9%+ 30c交易费)。 SynapsePay为ACH付款提供白标API(每笔交易25c)。