From de8c6e47151a0f9713453bbd6a9ac6abc9dce8f4 Mon Sep 17 00:00:00 2001 From: brandon in Date: Fri, 8 Jan 2016 09:06:04 -0800 Subject: [PATCH] Fixed current_order.id from session[:current_order_id] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b00019e..ae218c0 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ your order. ```ruby def payment - @order = Shoppe::Order.find(session[:current_order_id]) + @order = Shoppe::Order.find(current_order.id) if request.post? if @order.accept_stripe_token(params[:stripe_token]) redirect_to checkout_confirmation_path