Class: DmEvent::PaymentsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- DmEvent::PaymentsController
- Includes:
- ActiveMerchant::Billing::Integrations
- Defined in:
- app/controllers/dm_event/payments_controller.rb
Instance Method Summary collapse
-
#paypal_ipn ⇒ Object
TODO Not fully working yet ——————————————————————————.
-
#sofort_ipn ⇒ Object
TODO Not fully working yet ——————————————————————————.
Instance Method Details
#paypal_ipn ⇒ Object
TODO Not fully working yet
10 11 12 13 14 15 16 |
# File 'app/controllers/dm_event/payments_controller.rb', line 10 def paypal_ipn logger.error('===> Enter: controller::paypal_ipn') notify = Paypal::Notification.new(request.raw_post) Payment.event_payment_ipn(notify, 'paypal') render :nothing => true end |
#sofort_ipn ⇒ Object
TODO Not fully working yet
20 21 22 23 24 25 26 |
# File 'app/controllers/dm_event/payments_controller.rb', line 20 def sofort_ipn logger.error('===> Enter: controller::sofort_ipn') notify = Directebanking::Notification.new(request.raw_post, credential4: current_account.preferred_sofort_notification_password) Payment.event_payment_ipn(notify, 'sofort') render :nothing => true end |