lib/active_merchant/billing/integrations/notification.rb in activemerchant-1.28.0 vs lib/active_merchant/billing/integrations/notification.rb in activemerchant-1.29.0
- old
+ new
@@ -43,9 +43,13 @@
# Check if the request comes from an official IP
def valid_sender?(ip)
return true if ActiveMerchant::Billing::Base.integration_mode == :test || production_ips.blank?
production_ips.include?(ip)
end
+
+ def test?
+ false
+ end
private
# Take the posted data and move the relevant data into a hash
def parse(post)