Module: SermepaWebTpv

Defined in:
lib/sermepa_web_tpv.rb,
lib/sermepa_web_tpv/railtie.rb,
lib/sermepa_web_tpv/request.rb,
lib/sermepa_web_tpv/version.rb,
lib/sermepa_web_tpv/response.rb,
lib/sermepa_web_tpv/signature.rb,
lib/sermepa_web_tpv/persistence/active_record.rb

Defined Under Namespace

Modules: Persistence Classes: BASE, Railtie, Request, Response, Signature

Constant Summary collapse

VERSION =
"0.1.3"
@@transaction_model_transaction_number_attribute =
:transaction_number
@@transaction_model_amount_attribute =
:amount
@@bank_url =
'https://sis-t.redsys.es:25443/sis/realizarPago'
@@terminal =
1
@@currency =

Euro

978
@@transaction_type =
0
@@language =

Catala

'003'
@@response_host =

‘shop_name.com’

''
@@callback_response_path =

“/payments/callback”

''
@@merchant_name =

‘shop name’

''
@@redirect_success_path =

“/payments/success”

nil
@@redirect_failure_path =

“/payments/failure”

nil
@@pay_methods =

‘C’ for credit card only (see official doc)

''