Class: OffsitePayments::Integrations::Mollie::Helper
- Defined in:
- lib/offsite_payments/integrations/mollie.rb
Direct Known Subclasses
OffsitePayments::Integrations::MollieIdeal::Helper, OffsitePayments::Integrations::MollieMistercash::Helper
Instance Attribute Summary
Attributes inherited from Helper
Instance Method Summary collapse
Methods inherited from Helper
#add_field, #add_fields, #add_raw_html_field, #billing_address, #form_fields, inherited, #initialize, mapping, #raw_html_fields, #shipping_address, #test?
Methods included from MoneyCompatibility
Constructor Details
This class inherits a constructor from OffsitePayments::Helper
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class OffsitePayments::Helper
Instance Method Details
#credential_based_url ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/offsite_payments/integrations/mollie.rb', line 34 def credential_based_url response = request_redirect @transaction_id = response['id'] uri = URI.parse(response['links']['paymentUrl']) set_form_fields_for_redirect(uri) uri.query = '' uri.to_s.sub(/\?\z/, '') end |
#form_method ⇒ Object
44 45 46 |
# File 'lib/offsite_payments/integrations/mollie.rb', line 44 def form_method "GET" end |