简体   繁体   English

iOS信用卡使用paypal定期付款

[英]iOS Credit card recurring payment with paypal

Paypal has released new SDK for iOS developer : PayPal iOS SDK Paypal发布了面向iOS开发人员的新SDK: PayPal iOS SDK

This SDK allow two kind of payment: 此SDK允许两种付款方式:

  1. Single payments 单笔付款
  2. Future payments 未来的付款

I need to implement Future payments in my app so user only have to enter his payment detail one time. 我需要在我的应用中实施未来付款,因此用户只需输入一次付款明细。 And every other time Amount is transfer automatically. 每隔一段时间Amount就会自动转移。

Problem : Single payments can be done with PapPal account and Credit Card but Future payments is only work with PayPal Account ( Make future payments ). 问题 :可以使用PapPal帐户和信用卡进行单笔付款,但未来付款仅适用于PayPal帐户( 未来付款 )。

As other option I try Authorize.net But it don't allow Automated Recurring Billing (ARB) with iOS SDK Choose an API . 作为其他选项,我尝试使用Authorize.net但它不允许使用iOS SDK进行自动重复计费(ARB) 选择API

One other option I think is doing credit card payment with Rest API . 我认为另一个选择是使用Rest API进行信用卡支付。 I scan credit card with card.io And use REST API to make transfer. 我用card.io扫描信用卡并使用REST API进行转移。 I save this detail for future use and every time user require payment I use this saved detail with REST API. 我将此详细信息保存以供将来使用,每次用户需要付款时,我都会使用REST API保存此详细信息。 But I am not very sure with this option. 但我不太确定这个选项。

So how can I develop such functionality in my app so that user don't have to enter his Credit card detail? 那么我如何在我的应用程序中开发此类功能,以便用户无需输入他的信用卡详细信息? Is it any way possible with PayPal or Authorize.net? PayPal或Authorize.net有什么办法吗? or I have to go for other payment gateway like stripe . 或者我必须去像条纹这样的其他支付网关。

@CRDave, Dave from PayPal here. @CRDave,戴夫来自PayPal。

You're correct that the PayPal iOS SDK does not currently include the option of authorizing a credit card for Future Payments. 您是正确的,PayPal iOS SDK目前不包括为Future Payments授权信用卡的选项。

You're also correct that directly using the REST API will allow you to save the user's credit card information in the PayPal Vault, so that you can subsequently bill the same card in the future. 您也是正确的,直接使用REST API将允许您将用户的信用卡信息保存在PayPal Vault中,以便您以后可以在同一张卡上开具账单。 It sounds like this would work fine for your case. 听起来这对你的情况很好。

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

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