adamthedeveloper / wepay-rails

Collect payments from wepay in your rails application.
MIT License
32 stars 24 forks source link

Wanted to set up a recurring payment #23

Open timothyjoh opened 12 years ago

timothyjoh commented 12 years ago

In my application, we are sending out an estimate with a button to allow the recipient to pay via the WePay iframe, the full amount of the estimate.

This seems to work, however we would also like to add the ability to make an auto-recurring payment, so we would split up the invoice total in thirds, and let the recipient pay in 3 monthly installments.

When I pass into the checkout_params, the keys of :period, :auto_recur, and :end_time, the Rails Gem coughs it back. I wonder if this is just something the current Gem doesn't support, or do I need to issue it another way?

adamthedeveloper commented 12 years ago

Hi,

I wrote some code to handle subscriptions quite a while back but I haven't committed that to the gem yet - it needs more testing. If you would like, I can push it to a branch and you can try it out in your code and help me kick the tires on it a little more. How soon do you need it?

Thanks,

Adam

timothyjoh commented 12 years ago

Oh, I would love it today if you can. That would be good, maybe I could finish it up sometime this week.

adamthedeveloper commented 12 years ago

I'll try. I need to go fire up an older machine of mine and pull the code out. Let me see what I can do tonight - I can't make any promises though.

Adam

On Sun, Sep 16, 2012 at 4:40 PM, Timothy Johnson notifications@github.comwrote:

Oh, I would love it today if you can. That would be good, maybe I could finish it up sometime this week.

— Reply to this email directly or view it on GitHubhttps://github.com/adamthedeveloper/wepay-rails/issues/23#issuecomment-8601696.

A.R. Medeiros

timothyjoh commented 12 years ago

No problem if not, I appreciate it though.

timothyjoh commented 12 years ago

Just wanted to follow up with you about the recurring payments. I went forward without that feature, but allowed the customers to make progress payments manually of 1/3, and the app has been live for 2 weeks and doing great.

I would love to circle back around, and implement real recurring payments, if you have a chance to send over the code, great. Otherwise I will probably dive into it next week myself.

Thanks for your help! and thanks for the library!