Integrate payment Gateway with rails - ruby

Right now we are owner of site. And we do have 2 types of users. One can organize events and another users can sponser that event. so what I actually need is that once sponsor will do payment to event organizer then entire payment will go in our account.
after verification from our side we will keep 20% of total payment in my account and remaining will goes into event organizer's account.
Any Payment gateway provide this kind of setting.

use gem 'stripe'through easy to Integrate payment Gateway with rails
Stripe Docs

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 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.

Is a marketplace of Square Online Stores possible?

I want to develop a market place store front for farmers, but use Square as my payment gateway. I have achieved this using Stripe, but they do not have the in-person payment option and that is crucial for the business model we want.
I would like to know do you allow application fees that go to the marketplace owner on transactions? If not, how do you propose that a user of the payment gateway that is building a marketplace get paid. I need to pay the vendor AND the marketplace owner. I saw that with OAuth, you can connect to up to 10 merchants from your merchant account. How am I supposed to use this information to get paid?
Can I create a separate fee transaction/transfer on a merchant account that goes into the marketplace account? If so, I would incur the 2.9% +30 cent fee for a small transaction of maybe 40 cents. Is there a way to avoid that?
The Square Connect API does not currently support additional application fees on top of API charges (aka "multi-party payments").
While the API can be integrated into your platform as an e-commerce payment gateway, it is not currently recommended for platforms that require multi-party 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.

Recurring profile magento payment gateway INDIA

I want to use any payment gateway which can accept recurring profile payment from a magento store in INR. Please do not suggest paypal as it won't work in our case.
My requirements are clear:
I just want to confirm the transaction for a product which has recurring profile. So the payment gateway should accept the parameters for a recurring payment.
I do NOT want recurring payments(deductions from the account each month)
Right now, I have integrated EBS payment gateway successfully into my store and made modifications into it so that the payment method shows up during checkout. However, after I click place order, the purchase is successful and the user is not redirected to EBS (just for the products with recurring profile).
Please reply. Even a minor help could be much fruitful for me. Many thanks viewers
Apparently there is no solution to this issue. I had to find a workaround of using offline payment methods for recurring profile products and online payment for other products.

Resources