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.
Related
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.
I wanted to know if it is possible to integrate payments into a chatbot built upon MS Bot Framework without using PayPal/Stripe APIs. I've got a traditional payment gateway that I wish to use for payments, is there any way to render a webpage within a bot window? Also, I'm not entirely sure whether such an approach is safe.
Any other suggestions in terms of approaching this problem are also welcome.
You can simply use depends on the language you're using the CSharp Payment Bot Sample or Node Payment Bot Sample that uses Stripe or if you want to use PayPal, you can just create a Payment Button where the user will have to click on, get redirected to a browser to finish the payment and create an endpoint for PayPal's Instant Payment Notification on your Bot so it can tell when the payment has been processed.
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.
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.
I am using magento with paypal express checkout.I have configured it.
But when I create the orders in admin I am not getting this option there.
How can I do this?
Please help.
Most Magento payment methods does not support using it in admin. PayPal Express method does not support it also.
P.S. After creating order customer are redirected to PayPal. If you create order for customer he will not be redirected and can not pay for order.
You need to search for payment method that allow repayment (link to pay).
Payment method has a parameter
protected $_canUseInternal = false;
but changing it to true is not enought :)
We encountered the same issue and didn't find a solution that automated handling PayPal payments for orders created via the Magento backend. What we did in the end is a manual process and requires several steps for the salesperson, but it allows us to keep our orders and their payment types organized and accurate.
We created a custom payment method called "PayPal - Manual Invoicing". It's configured to only appear on the adminhtml order creation screen. Functionally it effectively does nothing other than mark the payment type of the order for manual invoicing--after the order is created the salesperson has to go to PayPal and send the customer an invoice. And again when the invoice is paid the salesperson has to invoice the order in Magento manually.
For a decent tutorial on making a payment method take a look at this: http://excellencemagentoblog.com/magento-create-custom-payment-method
The tutorial walks you through extending the core Mage_Payment_Model_Method_Abstract class, adding your new payment method to the Payment Methods, and adding the necessary UI components.