diff --git a/app/controllers/ecommerce/orders_controller.rb b/app/controllers/ecommerce/orders_controller.rb index 5e9675e1..9cc6e15b 100644 --- a/app/controllers/ecommerce/orders_controller.rb +++ b/app/controllers/ecommerce/orders_controller.rb @@ -54,6 +54,12 @@ def culqi_webhook head :ok end + def einvoice_webhook + Rails.logger.info "Webhook Received" + Rails.logger.info params + Rails.logger.info params.to_json + end + def calculate_coupon puts params found_coupon = Coupon.find_by(coupon_code: params[:coupon_code]) diff --git a/lib/ecommerce/version.rb b/lib/ecommerce/version.rb index 22f1df07..350059c6 100644 --- a/lib/ecommerce/version.rb +++ b/lib/ecommerce/version.rb @@ -1,3 +1,3 @@ module Ecommerce - VERSION = '0.7.2.9' + VERSION = '0.7.3.0' end