diff --git a/app/controllers/spree/paypal_express_callbacks_controller.rb b/app/controllers/spree/paypal_express_callbacks_controller.rb index f608446..7330493 100644 --- a/app/controllers/spree/paypal_express_callbacks_controller.rb +++ b/app/controllers/spree/paypal_express_callbacks_controller.rb @@ -18,7 +18,7 @@ module Spree case @notification.params["payment_status"] when "Denied" - @payment.fail! + @payment.failure! when "Completed" @payment.complete!