Rails 5: Iugu and recurring payment

Asked

Viewed 145 times

0

I looked in the documentation of Yugu which function in Rails I called to create a recurring payment on yugu, but I could not find. Can anyone give me a light on this? There Iugu::Subscription.create, but would like the specific function for recurring payments and their parameters with values and etc. The repository of Gem iugu also doesn’t help much, as it has little documentation, and the official documentation of just the return of the api.

Thank you

2 answers

0

Fernando this part of recurring is very quiet. You should use Iugu::Subscription.create, just pass the data of the plan you want to associate and that’s it.. Yugu will create the recurring signature. I did it in Nodejs and everything is playing perfectly. If you need any help I can try to help. my email is [email protected]

0

To create recurring subscriptions, you must link it to a plan.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.