Credit Card Payment(master Card and Visa) in Laravel 5.2 - laravel

Do we have any package for Credit Card Payment in Paypal in Laravel 5.2.37?
I am already following this to link my app with Paypal : http://learninglaravel.net/integrate-paypal-sdk-into-laravel-4-laravel-5 and now want to check any package for Credit Card(Master Card/Visa)

PayPal
These packages are for PayPal only and can be used to process credit cards.
PayPal PHP SDK
PayPal Developer REST API Samples
PHPBuilder - Working with the PayPal API
17 Educations - Paypal integration in laravel
laravel-paypalpayment
laravel-paypal
Multiple Services
These packages are for more than one payment processor and include PayPal. They can be used to process credit cards.
Omnipay for Laravel 5 & Lumen
Omnipay Simple Example
Payum
Laravel Cashier (official Laravel package; supports PayPal via Braintree; meant for subscriptions / recurring billing plans)
EnvatoTuts - Process Payments With Stripe and Laravel Cashier
ItSolutionStuff - Laravel 5 Stripe example using Laravel Cashier from Scratch

I suggest you to use Omnipay
https://github.com/thephpleague/omnipay
It supports paypal and tens of other major payment providers, with a simple unique interface for all of them
Install & use instructions are on the github project page, package are available for composer

Related

can we use payment network tokenization in the backened code?

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.

How we can preview prorations in laravel cashier or what is the logic of calculating prorations on any subscription?

I have created a subscription for any of product using laravel cashier and the subscription is for one month then in id of subscription user wants to sowngrade or upgrade his subscription then how can we calculate unused time on cost on existing subscription in laravel cashier.
I am not using stripe/stripe-php i am using laravel cashier
How we can preview prorations?or
What is the logic of calculationg prorations?
Laravel Cashier uses stripe/stripe-php package so you could use \Stripe\Invoice::upcoming() method.
From Cashier v13 Cashier offers a wrapper for previewing:
$invoice = $user->subscription('default')->previewInvoice('price_yearly');
You can read more about this: https://laravel.com/docs/8.x/billing#previewing-subscription-invoices.
While Stripe's API has an upcoming invoice endpoint that supports previewing changes to subscriptions (change prices, quantity, etc), it does not look like Cashier offers this functionality. Or at least nothing that sounds like an implementation of this feature is included in their documentation. You could contact them to ask about current/future support for this feature.
You can read all about Stripe's proration logic here in the docs.

Unable to get all the transactions from PayPal using PayPal PHP SDK

I am trying to get all the transactions from Paypal using PayPal PHP SDK but facing header error 10002. I am using the Laravel framework to get these transactions.

Difference between Laravel Cashier and Cartalyst Stripe package

I want to integrate Stripe into my Laravel app, and I'm wondering what is better solution for it: https://github.com/cartalyst/stripe-laravel or https://laravel.com/docs/5.3/billing?
If you're only performing "one-off" charges use the Stripe SDK directly or stripe-laravel by Cartalyst. https://cartalyst.com/manual/stripe-laravel/
If you're offering subscriptions, you should use Laravel Cashier instead. https://laravel.com/docs/5.4/billing

Laravel Cashier - Stripe

I am developing application e-commerce application and using Laravel Cashier to charge the user. In some cases I have to refund partial amount. Is there is there any method to refund partial amount using Laravel Cashier.
Thanks,

Resources