Process credit card in 5 months via paypal - drupal

My client has a drupal + ubercart site. now he wants to setup a product for preorder. Meaning, take the credit card info now, but charge only after 5 months. Is there any way this can be achieved?
originally I thought about using authorization (the site is using paypal as gateway). But, the authorizations lasts only 29 days.
I understand that storing all the credit card info is a big no-no. but maybe there is some solution to this?

This would need PayPal Preapproved Payments, available via the PayPal Adaptive Payments API.
Buyers would authorize (preapprove) you to charge them at a later date for up to a certain amount. When that time comes, you would simply call the PayPal Adaptive Pay API and charge them.
For an example checkout flow, see the Adaptive Payments Developer Guide (page 25)
See also page 171 onwards for an integration example with the Preapproval API.

Related

Subscriptions in PayPal

I am working on integrating Recurring Payments functionality in Asp.Net based application where people can subscribe to a Service where they will be paying a monthly amount. I am trying to achieve the same using PayPal's Subscription APIs. One another aspect is where people will be making payments using their Credit Card instead of PayPal's account. I have tried to search for a sample code where I can see that Credit Card information is passed to the Subscription API but unable to find the same. Can anyone points me to a sample code where this is implemented or guide me on how I can do this?
PayPal does provide a Subscription only API for PayPal payments or Guest Checkout where buyer's prompt to create PayPal personal account. To achieve a Credit card subscription I'd reckon to refer to Braintree Vaulting functionality wherein you can have both Credit Card & PayPal.
Braintree Vault Overview:
Our Braintree Vault securely stores customer information – including payment method information – so you can safely keep customers on file.
The Vault is used to process payments with our recurring billing feature, and can also be used for non-recurring transactions so your customers don't need to re-enter their information each time they make a purchase from you.
https://articles.braintreepayments.com/control-panel/vault/overview
Thanks.

Charge a customer later on WooCommerce (Buy now and pay later!)

Does anybody know of a way to charge a customer 30 days later on WooCommerce? We use Stripe as our payment method.
We want to allow customers to "Buy now and pay later"
I thought WooCommerce Deposits would be perfect but unfortunately, they do not offer an automatic charge, you have to have the customer pay through a link later.
You may try to use Stripe's Charge API with the auth and capture flow. This way first you authorize the transaction - i.e. reserve the money on the account. To do this, you need to send a capture: false parameter when making the charge request.
Later you need to issue a capture charge call, otherwise the auth will be released, meaning you won't get the money at all.
Read the docs on Stripe how long do they hold the auth part for, usually it's 7 or 14 days on other providers.

Charge user on a per month & per post basis for directory

I'm looking for a way to charge users to post to a directory site.
I've tried using the WPMU Dev directory plugin, but it didn't have this feature.
You could either charge a one time fee per post, or you could charge a monthly rate.
Oh, and for now the gateway would be PayPal.
Cheers.
There are a number of ways you could do that on the PayPal platform, but with the limited info I have here I would probably recommend the Adaptive Payments API, specifically Preapproval and Pay.
Using Preapproval, you would have users create a preapproval profile which gives you authentication to make payments on their behalf without further approval. This way you could take payments based on any trigger you want, be it a post, a specific date coming up, or whatever.

Pay through Paypal using a credit card

I have a requirement of integrating paypal in one of my asp.net website.
But I need to have a facility that One could pay through Paypal by using a credit card even if they don't have a paypal account. For credit cards, I don't have any idea of how can it be done through paypal development portal.
So can anybody let me know how to go about this and any reference link where I can find some details for this.?
I think one of the option I should go with is: PayPal Website Payments Pro but I have no idea about that and Is it a free service or a paid one.?
Thanks in advance.
PayPal Payments Pro does allow you to process credit card transactions using the Direct Payment API's. That product is currently available to US, UK, and Canadian merchants. The REST credit card process mentioned is only for US merchants at the moment.
Payments Pro isn't free. There a $30 a month fee.
Payments Standard and Express Checkout are both free and don't require that your buyers have a PayPal account but they are required to redirect to the PayPal site to log into their account or enter their credit card information.
If you have a more specific question I can help you further.
You can make credit card payments via the new PayPal REST API. Depending on your use case check the documentation for sale (directly charging a card), or authorize and capture. You also have the option of storing cards in the vault for later use.
I do not know whether you have gone through the Paypal developer's FAQ. Please go through this link once-
https://developer.paypal.com/webapps/developer/support/faq
Ideally to integrate paypal to a development site, A business account needs to be created.So when the user clicks on the pay now button on your site you send that userId and password to Paypal webservice and authenticate yourself as business user. it redirects to teh paypal site after authentication. So even if the user does not have an account with paypal they can pay using paypal(Which authenticates your site).
All the paypal integration is paid service.

Online Payments Using Paypal NVP Api

I am developing a website with online payment.
Payment is done using Paypal NVP Api.
There is need of a facility to store customers credit card details(not in database) once they register to Website.There onwards whenever they order these details will be fetched, Customer need not enter their card details for every order.
So is there any facility to create a profile n store credit card details of customer, as it is there for recurring payments?
This is not the idea of paypal, you are not allowed to store the customer credit cart and use them later by your self - if you do that, paypal see its and block your account in no time.
The paypal offer recurring payments, so you only need to initialize correct the paypal options and you have your solution.
Or get permission from visa, or master-cart to have the ability to keep local the credit cart informations. I must say that is very dangerous and if your system is not well protected you put your clients and your business in a big risk to lose the credit cart data and have real problems.
to store customers credit card details(not in database)
Where to you wish to store it ? in the paper :)?
Customer need not enter their card details for every order.
This is something that paypal take care of. You do not have to do something about.
You may want to check Recurly.com
they are providing support for Paypal and other gateways too. Plus great API documentation.
using it and definitely recommend it. 10 out of 10

Resources