R
R
Roman Volkov2015-01-06 22:27:20
Ruby on Rails
Roman Volkov, 2015-01-06 22:27:20

How to connect an active merchant to a project on ROR?

Tell me where you can read about the integration of acitve merchant? Interested in paying through Russian payment systems and PayPal? And the documentation is very poor. And it’s also interesting, does the payment take place on the payment system website or inside the Ruby project?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Viktor Vsk, 2015-01-06
@white_wolf_17

And it’s also interesting, does the payment take place on the payment system website or inside the Ruby project?

Gateway - on the site. Integration - at the provider.
On integration, this is what more or less helped me to understand blog.kiskolabs.com/post/22374612968/understanding-...
I did it for an Indian service, here is a ready-made example with an application (quite intelligibly, except that they own their service as an asset Mershnat added decoys with patching, and they have the gem "forked" in the lib folder) - https://github.com/payu-india/PayU-Integration-Kit-ROR
And so, in general, the documentation is all on the website of the merchant's asset , for this he was conceived to make a single interface.
You need to look specifically for the selected provider and look for information on it (for example, look in the list of the Mershanat asset itself, is it supported)
If the provider did not make the gem\sdk himself, then you will have to implement the merchant's asset or not. Or add integration\gateway for active merchant (do the work of the provider)

A
AdrianBlair, 2017-06-11
@AdrianBlair

The question is closed.
The ".htaccess" file had to be formatted like this:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(.*).yourdomain.com$
RewriteCond %{REQUEST_URI} !^/(.*)/
RewriteRule ^(.*)$ /%1/$1 [L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question