I am needing 2 ways of payment methods to my Laravel project.
1- I am needing paypal single charge payment.
--This payment is simple as one paypal button to click and authenticate paypal user for purchase. once the user is successfully logged in paypal, then process the payment charge the amount, i want all that to be controlled by Laravel controllers, that way i can keep on track of users, purchases and once the payment was succussfully was done i need to send the user email notification with a donwload link.
2- I need Braintree paypal payment for the same project, which will charge the user using his/her credit cart only.
--user credential like card info has to be checked for amount using Braintree for single payment. once the payment was successfully proceed then using Laravel Controller to get and save some information to database, and also send the user an email notification about the purchase including a download link of a file.
NOTE:
---I need all payment to handled mostly by Laravel PHP framework other than any javascript or anything else.
---Any error or failure during payment process has to be handled and shown as notification for user.
---No Subscripts is required but only and only one time charge.
-- I want the project to use laravel cashier or any other package using paypal and braintree payment NO STRIPE PAYMENT IS NEEDED.