lib/active_merchant/billing/gateways/mastercard.rb in activemerchant-1.126.0 vs lib/active_merchant/billing/gateways/mastercard.rb in activemerchant-1.129.0
- old
+ new
@@ -216,17 +216,10 @@
"#{base_url}merchant/#{@options[:userid]}/order/#{orderid}/transaction/#{transactionid}"
end
def base_url
if test?
- case @options[:region]
- when 'asia_pacific'
- test_ap_url
- when 'europe'
- test_eu_url
- when 'north_america', nil
- test_na_url
- end
+ test_url
else
case @options[:region]
when 'asia_pacific'
live_ap_url
when 'europe'