apigy / selfstarter

Roll your own crowdfunding
selfstarter.us
Other
3.17k stars 1.62k forks source link

AmazonFlexPay usage broke, so I fixed it #32

Closed brendte closed 11 years ago

brendte commented 11 years ago

At one point, it seems that AmazonFlexPay returned an object on which you could call #url. It doesn't do that anymore (https://github.com/kickstarter/amazon_flex_pay/commit/512d077b563c573122a43392e875752ca78b4e86). It returns the url as a String. So, method_not_found errors (calling String#url) were a-flyin'. I updated the call to AmazonFlexPay.multi_use_pipeline, which you can now redirect_to directly, and removed the @pipeline and @pipeline.url business altogether.

Jarred-Sumner commented 11 years ago

Thanks for keeping on top of this! Sometimes things slip through the cracks, and it's wonderful when people jump in and help.

brendte commented 11 years ago

Happy to help!

adamweinstock commented 11 years ago

Please see #44