corrected a misnamed payment event from fail! to failure!
This commit is contained in:
parent
6fbc63116a
commit
f8e239e3c1
|
@ -18,7 +18,7 @@ module Spree
|
||||||
|
|
||||||
case @notification.params["payment_status"]
|
case @notification.params["payment_status"]
|
||||||
when "Denied"
|
when "Denied"
|
||||||
@payment.fail!
|
@payment.failure!
|
||||||
|
|
||||||
when "Completed"
|
when "Completed"
|
||||||
@payment.complete!
|
@payment.complete!
|
||||||
|
|
Loading…
Reference in New Issue