简体   繁体   English

无需登录 paypal 帐户接受信用卡/借记卡付款

[英]without login to paypal account accept the credit/debit cards payment

Can Paypal Express checkout integration include a payment way with credit card and debit card which do not require customer to login to paypal or to create a new paypal account? Paypal Express 结账集成是否可以包括信用卡和借记卡的支付方式,无需客户登录 paypal 或创建新的 paypal 帐户?

I read lots of post here they said set SOLUTIONTYPE=sole in your SetExpressCheckout API, and also set "PayPal Account Optional" to "on" in your PayPal account -> [Profile] -> [My selling tools] -> [Website preferences].我在这里读了很多帖子,他们说在您的 SetExpressCheckout API 中设置 SOLUTIONTYPE=sole,并在您的 PayPal 帐户中将“PayPal Account Optional”设置为“on” -> [个人资料] -> [我的销售工具] -> [网站偏好]。

I have on the paypal account option.我有 paypal 帐户选项。 But I'm not getting where to set SOLUTIONTYPE=sole in setExpressCheckout API.但我没有找到在 setExpressCheckout API 中设置 SOLUTIONTYPE=sole 的位置。

I have used paypal-rest-sdk npm in my code.我在我的代码中使用了 paypal-rest-sdk npm。 I have create two routes for create payment and execute paymant.我创建了两条路线来创建付款并执行付款。

Can you please help me here你能帮我吗

I read lots of post here they said set SOLUTIONTYPE=sole in your SetExpressCheckout API, and also set "PayPal Account Optional" to "on" in your PayPal account -> [Profile] -> [My selling tools] -> [Website preferences].我在这里读了很多帖子,他们说在您的 SetExpressCheckout API 中设置 SOLUTIONTYPE=sole,并在您的 PayPal 帐户中将“PayPal Account Optional”设置为“on” -> [个人资料] -> [我的销售工具] -> [网站偏好]。

Those are all old classic API things that you don't need to worry about at all.这些都是你完全不需要担心的老经典 API 东西。

All you need to do to present a 'Debit or Credit Card' button is integrate PayPal Checkout's standard payments, as documented here: https://developer.paypal.com/docs/business/checkout/set-up-standard-payments/出示“借记卡或信用卡”按钮所需要做的就是集成 PayPal Checkout 的标准付款,如下所述: https://developer.ZA0A058BAAEEF16E88F6BD2-pay36C03F6FZ.com

For an interactive demo, see: https://developer.paypal.com/demo/checkout/#/pattern/client有关交互式演示,请参阅: https://developer.paypal.com/demo/checkout/#/pattern/client


If you will be combining this with a server backend for API calls, see https://developer.paypal.com/docs/business/checkout/server-side-api-calls/#server-side-api-calls and set up two routes that return JSON, one for "Create an order" and one for "Capture an order"如果您要将其与 API 调用的服务器后端结合使用,请参阅https://developer.paypal.com/docs/business/business/checkout/server-side-call-api-andcall up/business/checkout/server-side返回 JSON 的两条路线,一条用于“创建订单”,一条用于“获取订单”

Then pair your routes with this JS for the approval flow: https://developer.paypal.com/demo/checkout/#/pattern/server然后将您的路线与此 JS 配对以获得批准流程: https://developer.paypal.com/demo/checkout/#/pattern/server

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM