简体   繁体   English

PayPal PHP API,信用卡和借记卡的处理方式是否相同?

[英]PayPal PHP API, credit card and debit card get processed the same?

I am using the PayPal PHP API within a Laravel 5 install. 我在Laravel 5安装中使用PayPal PHP API。 It works great, and I am taking payments perfectly in the sandbox environment. 效果很好,而且我在沙盒环境中可以完美地付款。

I am wanting to process both credit and debit cards. 我想同时处理信用卡借记卡。

I am really finding it hard to find anything online regarding if there is any different call for debit cards, the below code seems to work for all my test sandbox test cards. 我真的很难在网上找到任何有关借记卡的不同电话的信息,以下代码似乎适用于我所有的测试沙盒测试卡。

Does anybody know if there is another call for processing debit cards? 有人知道是否还有其他要求处理借记卡的电话吗?

$payer->setPaymentMethod('credit_card')

Massive thanks in advance!!! 提前致谢!!!

As long as the type of card (Visa, MasterCard, Amex, etc..) is supported by the processor, the transaction will be processed regardless of the fund source associated with the card. 只要处理器支持卡的类型(Visa,MasterCard,Amex等),无论与卡相关的资金来源如何,都将处理交易。 Debit, credit and prepaid describe the type of funds attached to the card but do not change how the card is handled by the merchant. 借记卡,信用卡和预付卡描述了卡上附带的资金类型,但不会改变商户对卡的处理方式。

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

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