lib/adyen/matchers.rb in adyen-2.1.0 vs lib/adyen/matchers.rb in adyen-2.2.0
- old
+ new
@@ -5,10 +5,10 @@
module XPathPaymentFormCheck
def self.build_xpath_query(checks)
# Start by finding the check for the Adyen form tag
- xpath_query = "//form[@action='#{Adyen::Form.url}']"
+ xpath_query = "//form[@id='adyen']"
# Add recurring/single check if specified
recurring = checks.delete(:recurring)
unless recurring.nil?
if recurring