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.
Related
I`m building an application using Laravel with Paypal PHP SDK, and everything was working normally, but today when I wanted to make some tests on checkout, I faced some errors, Paypal securely login stopped working, and as I checked, it seems that Paypal PHP SDK Link is now deprecated, and we have to use new SDK for API V2 Link.
I downloaded the new PHP SDK, but from the documentation, they only provided sample on how to create an Order with the SDK, and no sample provided for creating Payments.
My first question, what is the difference between Order V2 and Payment V2?
Question number 2, is there any example for how to create payment with the new PHP SDK? because I need to make the user able to click on purchase button and pay with Paypal with PHP.
The v2 SDK uses Orders for the payment approval process (instead of PAYIDs). 'v2 Payments' refer to what you get when you capture/authorize an order i.e. transaction/authorization objects.
The way you create a 'Payment' in v2 most simply is you first create an order with intent:capture, and you pass that orderid to the front-end UI https://developer.paypal.com/demo/checkout/#/pattern/server , and after approval you capture it (equivalent to v1 execute).
Capture results in a capture id, which is a v2 payment object (equivalent to a v1 sale id). This id is what will show in paypal.com account, and the only thing you need to persist for accounting purposes.
The changes can seem confusing at first, but the new system is better.
I am new to laravel currently using the laravel 5.8 . i have the subscriptions plans to be implemented in my laravel project. I have read about how to implement subscription and came across the laravel cashier i have tried to implement it. but it gives me error i do not know where these errors as i have implemented the code according to the documentation. Can anyone please suggest me the proper working example of how to use the laravel cashier in my project.
thanks
tried to implement laravel cashier
Stripe \ Error \ InvalidRequest
This customer has no attached payment source
sometimes it says trying to call created method on null
You’re trying to create a charge for a user that doesn’t have a credit card saved.
you can follow this example
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
I download the ccavenue payment gateway module its working fine on megento
back end but it's not show in front end.
I clear the cash and index refresh but it's not working.
Please help.
Make sure you have enabled CCAvenue as a payment gateway.
Check file permissions of template/layout files
CCAvenue mostly has encrypted module. You can contact them to get un-encrypted one. OR if you already have it, debug by doing echo-exit in model files for payment gateway.
Its difficult to analyze issue as there is no reference of what is the error you are getting but you can try above steps to check.
I have magento site in 1.7.2 version and setup the paypal payment(Paypal Payflow Pro).
the transaction with paypal is done successfully but Invoiced Id not sent to paypal and In transaction i can not see INVNUM.
i know that when we make request to paypal we need to pass "INVNUM" but my site is not sending INVNUM to paypal in request, i captured the one transaction by doing debug mode enable.
any one have idea where i need to checked and fixed.
Thank you.
In have upgrade version of magento 1.7.2 to latest version so ,in latest version of magenot it's working.