Commerce 4B

Component ID

1542442

Component name

Commerce 4B

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

1914

Component created

Component changed

Component body

Implements the Spanish 4B payment service for use with Drupal Commerce.

Full list of supported banks at http://www.4b.es/sistema-4b/members

Configuration

  • Enable the module and configure the payment rule at admin/commerce/config/payment-methods
  • Enter the store code ("Clave de comercio") you received by the bank.
  • Deactivate the payment rule setting "Use testing platform" when going live.

4B Service configuration

You need to configure the payment service at the website 4B. After signing up for the payment service from 4B, you will be given:

  • Nombre de commercio
  • Clave de comercio (store code)
  • Clave de usuario y contraseña (username and password)

Login at https://tpv.4b.es/config, enter the username and the password, click "Configuración"
in the menu at the left, and enter the following URLs, replacing YOURDOMAINNAME

  • URL que devuelve el desglose de la compra: YOURDOMAINNAME/commerce_4b/checkout_details
  • URL que graba el resultado en la BD del comercio (TRANSACCIONES AUTORIZADAS): YOURDOMAINNAME/commerce_4b/payment_response
  • URL que graba el resultado en la BD del comercio (TRANSACCIONES DENEGADAS): YOURDOMAINNAME/commerce_4b/payment_response
  • URL de continuación posterior a la página de recibo: YOURDOMAINNAME/commerce_4b/return
  • URL de recibo (TRANSACCIÓN AUTORIZADA): YOURDOMAINNAME/commerce_4b/payment_response
  • URL de recibo (TRANSACCIÓN DENEGADA): YOURDOMAINNAME/commerce_4b/payment_response

Credits

Based on the UC_4B and Commerce payment 4b modules.