an unfinished start on proper paypal recurring integration

This commit is contained in:
Kyle Drake 2015-04-10 18:15:11 -07:00
parent 5346b7345e
commit c4376bc580
15 changed files with 175 additions and 53 deletions

2
app.rb
View file

@ -27,7 +27,7 @@ before do
if request.path.match /^\/api\//i
@api = true
content_type :json
elsif request.path.match /^\/stripe_webhook$/
elsif request.path.match /^\/webhooks\//
# Skips the CSRF check for stripe web hooks
else
content_type :html, 'charset' => 'utf-8'