-1

I try to integrate Robokassa (Russian payment gateway) with my app. I've installed gem rubykassa.

User will fill form on my site and after submit... I can't understand how to hash all this data with MD5 and send it to gateway.

It's helper in gem description, but how to attach it to submit event?

<%= pay_url "Pay with Robokassa", ivoice_id, total_sum %>

1 Answer 1

1

You can redirect_to the user after form submit to specially constructed url, if I remember right, robokassa does support get-parameters.

Other way is just to present the user with another form filled with hidden fields and submit button saying "proceed to payment"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.