Implement PayPal fallback for registration payment process and update localization for fallback option (changes button). TODO still need to get fallback working properly in regards to the payment buttons.
This commit is contained in:
@@ -32,8 +32,7 @@ module RegistrationHelper
|
||||
steps -= [:hosting]
|
||||
end
|
||||
|
||||
steps -= [:payment] unless registration.conference.paypal_email_address.present? && registration.conference.paypal_username.present? && registration.conference.paypal_password.present? && registration.conference.paypal_signature.present?
|
||||
steps -= [:payment, :workshops] if registration.is_attending == 'n'
|
||||
steps -= [:payment, :workshops] if registration.is_attending == 'n'
|
||||
|
||||
steps.each do |step|
|
||||
# disable the step if we've already found an incomplete step
|
||||
|
||||
Reference in New Issue
Block a user