can we use payment network tokenization in the backened code? - laravel-5

as a part of our project we would like to implement a few more functionalities like Apple Pay,Google Pay and PayPal using autherize.net for billing payment transactions.
In our project we already implemented autherize.net for card payments.
Payment methods are implemented in the backend code side (using Laravel 5.5) with autherize.net APIs.There is no front end code interactions for card payment. User details needed for billing payments like Card details, auth_customer_id etc are fetched (today's user payment transaction due ) by running a crone job everyday.
In Autherize.net documentation it is written Apple Pay uses payment network tokenization.
We would like to know, is it possible to use payment network tokenization in the backend development(using Laravel 5.5) to implement Apple Pay,Google Pay, PayPal for billing payment transactions.

Related

How to provide authorization for a Laravel App to charge customer from services and products availed (NOT SUBSCRIPTION OR RECURRING)

I just want to ask how to implement this process in my Laravel 7 app.
On a logged user, he will setup his payment method using Paypal account (some redirection to Paypal page)
After success registration/setup of Paypal account, the app can now charge customer with service/products he availed.
This is not a subscription or recurring payments.
I'm reading the Paypal API Docs but I don't know where should I focus since I don't know the real Paypal Terminology for that kind of process.
NOTE: I already implement this kind of process but on Stripe only where the customer setup his Card or Bank Account then the app can charge the customer.
On PayPal this used to be known as "Reference Transactions with Billing Agreements", and in very new integrations it's called Vault (v2 REST API vault, not the old v1 REST Vault which is of no use)
This functionality is only available if PayPal turns in on for your production account, so you need to contact PayPal about it, specifically the business side of PayPal via https://www.paypal.com/smarthelp/contact-us (not the MTS technical support, they don't enable new features)
If reference transactions does get enabled and approved for your live/production business account (no guarantee of this), then PayPal will guide you on which specific API to use, which could be the newest v2 Vault or something else.

Using Braintree with Laravel to create customer id to use for future purchases

Not too long ago Payment gateways allowed you to create customer profile accounts and store their credit card info with the gateway and use the returned customer id to make future purchases with ease.
I am trying to do this with Laravel cashier and Braintree. I followed the docs here https://laravel.com/docs/5.5/billing#braintree-configuration and it set up fine. I am able to do one time charges and subscriptions.
Is there a way to store the customers credit card info on Braintree ( Vault? ) and retrieve it using their customer id everytime they want to buy something?
I can retrieve the Payment Nonce but that seems to be for a one time use.
Since the Laravel Cashier API wrapper provides the ability to create subscriptions within Braintree, it is certainly creating customers with saved payment methods prior to creating the subscriptions, since that is a Braintree requirement.
The Laravel Cashier docs don't show a standalone customer create call, so you may need to use the Braintree Customer Create API Call.

Paypal Pre-aapproved Payments with Laravel and handle recuring payments later

My Scenario
I am trying to allow user to add paypal payment methods on my webiste (in Laravel) so later he can use the added payment methods to make payment.
right now i am using the https://github.com/srmklive/laravel-paypal to handle the recurring payment methods but now we want user to add multiple paypal payment methods so when he want to purchase the subscription then he can be able to select the added payment method.
My Question
Is there a package or method for use with laravel that allows me to implement pre-approved payments and handle the recurring payment methods later?
Guarv, thanks for using my package. Pre-approved payments are part of PayPal AdaptivePayments API. My package supports it partially though. Hopefully we can work together to implement this in the package.
If you look at this link:
https://developer.paypal.com/docs/classic/adaptive-payments/ht_ap-basicPreapproval-curl-etc/
It specifically says if you are using pre-approved payments, you should use the Adaptive Payments endpoint to process any future payments.

Delay Paypal payment - Braintree APIs

I am developing a website that offers car-washings in all places publicly available through geolocation. However, due to weather instability, bookings can be cancelled at any time; instead of issuing expensive refunds, I would like to charge customers only once the washing has been performed.
I would like to accept Paypal payments and was suggested to use Braintree. Do you know if it is possible to delay charges with Braintree APIs on Paypal accounts?
I use Laravel 5.1.
Thank you
I would recommend using PayPal Preapproval profiles, specifically the Preapproval API to setup the profile, and then you would use the Pay API to process payments using the preapproval key for a given customer.
This PayPal PHP SDK makes all of those API calls very quick and easy, and it's available on Packagist so you can load it up in your composer.json for Laravel and be running in no time.
It has samples and empty templates for you to work with to make the Preapproval and Pay calls.

Does Paypal Payments Pro work directly with magento community to accept credit cards for recurring billing?

I have an online subscription store in magento and I was looking at using Paypal payments pro to accept credit cards/debit cards (UK based) to accept payments on recurring basis.
Can I can directly enable Paypal payment pro in magento to accept credit cards for recurring payments or does it require an external plugins (such as aheadworks etc.) for it? There seems to be very little information about recurring payments online and the support staff at most of these companies speak extremely cryptic language.
I tried the integration steps that I found in a Paypal guide online that enables Payment Pro in magento. But when I do that I only get an option to pay through a paypal account. What am I missing here? Do I need an external plugin to accept credit cards?
First, disclaimer, I am working on an US PayPal integration, not a UK PayPal integration, so there may be differences based on that.
Your question is a scenario that I am presently working on. That is, having BOTH direct credit card payment AND PayPal Express Checkout for purchase of subscription-based products (e.g., creating recurring payment profiles) with PayPal being the provider for the direct payment method (via either Payments Pro or Payflow).
There are limitations with Magento as far as recurring profiles are concerned. PayPal Payments Pro does integrate with Magento, however it is not a supported method for setting up recurring profiles in PayPal. You need to utilize Express Checkout.
There is a third-party extension -- "Subscriptions and Recurring Payments" -- available from AheadWorks that provides expanded functionality for recurring payments. The older version (1.9) does support the use of PayPal Payments Pro or Payflow Pro, but NOT Express Checkout. The newer version (2.0) supports the use of ONLY Express Checkout. So you get one or the other. Technically, it is feasible to run BOTH versions of SARP, but it is a hackneyed, server-intensive approach and not one that I would recommend.
If you want to do both Express Checkout -AND- direct credit card pay (via a PayPal product), you have to dive into the deep end of the pool and extend the existing PayPal module in Magento. (I know this, as I am currently in that deep end of the pool!)
Sorry this does not "solve" your problem. I've spent several months doing discovery work on this specific situation and the result was that I either:
a) Hack Magento's PayPal module to do what I want.
b) Create a custom module that extends Magento's PayPal module.
c) Create a standalone transaction API with a separate Magento module to interface to the API.
Payments Pro is for direct credit card processing, so if you have it enabled you would get that option.
I'm pretty sure in Magento when you enable Pro it requires Express Checkout to be enabled as well, so you'll see the Checkout with PayPal button and that would have them just sign in. If somebody clicks the regular checkout button, though, and goes through the remaining steps it'll allow them to enter credit card details directly.
Payments Pro (recurring payments) do not integrate directly with Magento. You can however create recurring profiles by creating billing agreements with PayPal
A billing agreement is a purchase/sales agreement between the store and the customer that is signed/authorized on the side of a payment service. With the Billing Agreements functionality introduced in Magento Enterprise Edition 1.9 and Magento Community Edition 1.4.1, individual customers purchasing products from a web store on regular basis can place sales orders without entering payment information again and again; they can simply grant the authorization to the payment system once.
In other words, a billing agreement is a payment method that allows customers to place orders without providing payment details to the store. After the customer signs a billing agreement with the store on the side of the payment service, the latter provides the store and the customer with the reference ID for the signed billing agreement. The reference ID is a unique number assigned to a billing agreement by the payment system. During further purchases, the customer selects the billing agreement as the payment method and uses the billing agreement reference ID. No other payment information is required for placing an order. The payment system verifies billing agreement information and whether the payment can be fulfilled by the reference ID specified by the customer. After the payment system performs the payment transaction, the reference ID is returned to the Magento system and an order is placed. After a billing agreement is signed with PayPal, the store owner can charge the customer’s PayPal account directly.
Currently Magento supports using only the PayPal payment system for the Billing Agreement functionality. Prior to using the Billing Agreements functionality, the store administrator must contact the PayPal Merchant Technical Services to enabling the billing agreements (reference transactions) for their PayPal merchant account.
More information listed here: http://www.magentocommerce.com/knowledge-base/entry/setting-up-billing-agreements-through-paypal//

Resources