简体   繁体   中英

Proceed to credit card payment method in PayPal

There is a form, which redirects to PayPal on https://www.paypal.com/cgi-bin/webscr . And shows two ways of payment: login in PayPal and pay with credit card. Is there any way to get redirect right to pay with credit card? Maybe it is need to add some parameter in form or change an action url?

不,这是一个paypal决定,通常如果他们现在用户有paypal帐户,你重定向到paypal标签,否则,如果它是第一次重定向到卡一,这是一个semplicistic解释,但如果你搜索paypal doc或咨询一个客户经理(这就是我所做的)你会得到这个答案

对于使用PayPal进行信用卡付款,您可以使用PayPal-PHP-SDK ,例如CreatePayment.php

Use this library https://github.com/angelleye/paypal-php-library I have created sample also for creditcard payment. It is very easy to use Just fill-up array values and your work is ready. No need to read core functions of paypal. Find your appropriate file in samples/rest.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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