Prestashop Payment Module

Prestashop PAYCOMET Module

  1. Download Link
  2. Module Configuration
    1. Banco Sabadell control Panel
    2. Prestashop
  3. Make Order
  4. Full or Partial Refunds
  5. User Area

Download Link

The module can be downloaded from the following link:

Prestashop 1.6+

Prestashop 1.7+

Module Configuration

Banco Sabadell control Panel


Below the PAYCOMET module configuration is shown for Prestashop

When we install the module on prestashop, in MODULES->AUTHOR->PAYCOMET the new PAYCOMET.COM module will be shown.

The configuration parameters will be as follows:

Firstly, the client code must be completed, provided in the product configuration in the Banco Sabadell control Panel. This field is:

  • Client code: Appears in the Banco Sabadell control Panel
  • Integration: You could choose between Bankstore Iframe/XML and Bankstore JetIframe.
  • API KEY: You must use the Api Key generated in the control panel. If you dont fill this field, the API REST integration will not be used.

For each terminal that the user has in the corresponding currency, the following will be defined:

  • Terminal Number: Appears in the Banco Sabadell control Panel
  • Password: Appears in the Banco Sabadell control Panel.
  • JET ID: Appears in the Banco Sabadell control Panel. Its mandatory just in case you chose the JetIframe integration.
  • Terminals available: Secure, Non-Secure, Both. The client must indicate what type of Terminal they have contracted. If one is Secure and another Non-Secure the Both option must be selected, so that the first client purchase is Secure and the rest Non-Secure.
  • Use 3D Secure: [Yes/NO]. If there is a Secure terminal it will always be YES. If there is a Non-Secure terminal it will always be NO. If Terminals are configured with “Both” and payments with tokenised cards are active, Non-Secure. For new cards, 3d Secure.
  • Currency: Terminal Currency. The default currency of the shop is indicated with the text “By default” after the name of the currency.
  • Activate 3D Secure for payments of over: This option will be shown when “Both” has been selected for terminals and “NO” selected for Use 3D Secure. If activated, payments that exceed the indicated amount will be secure.

Both terminals and currencies configured in the store can be defined. The client must have contracted more than one terminal.

To add a new terminal, simply click the "New Terminal" buttón a new space will be shown for adding the new terminal information.

Two terminals cannot be created with the same Terminal Number.

Two terminals cannot be created with the same Currency.

If it is desired to remove a configured terminal, we click on the "Remove Terminal" button. It will then be necessary to click Save Configuration so that the changes are applied.

If more than one terminal is available and it is configured, the payments will be by the terminal associated with the user’s currency.

If only one Terminal is available and it is desired to operate with different Currencies this is also possible. Banco Sabadell must be contacted to enable the Multicurrency option on the terminal. In this case, the module will send the total amount of the operation to the Bank in the user’s currency and the Bank will carry out the conversion to the Terminal currency.

Configuration options:

  • Payment on new page: Clients that have some kind of checkout incompatible with the payment on the same age must activate this option. A link will be shown to make the payment on a new page.
  • Iframe Height (pixels): If you have chosen to show the checkout on the stores own website, this option will be displayed, which allows you to adjust the height of the checkout window.

Once on the new payment page, the operation is the same as if it were integrated within the payment methods.

  • Disable Card Storage: If you want card storage to be disabled. This will remove the "Save Card" option when making a payment with a new card and also will remove "My Cards" section in "My Account" tab.
  • Activate Subscriptions: [YES/NO]. If enabled, when paying, the option to make a subscription (Weekly, Monthly, Quarterly, Bi-Annual) will be shown in the indicated shopping cart. In this case, subscription will only be possible by entering the card information again.

Make Order

When making an order in the Prestashop store, “(PAYCOMET) credit/debit card” is shown as a payment option.

  • Normal Payment

If it is the first time that you are purchasing it will have the following appearance

“Save card for future purchases”. Serves to save the token for future purchases. If we select this option, the next time that we pay in the shop, the stored card will appear in Pay with Card.


If it is desired to pay with another card we will select NEW CARD so that the new card information to enter is shown.

  • Subscriptions

If this option is enabled in the module the “Do you wish to subscribe to this product?” check will be shown. If we click it the following information will be shown.

We must indicate the frequency and Payment Number (times) that we wish to carry out the same order. In this way, when the period elapses, a new order will be automatically generated and the payment will be made automatically

When a subscription is created, an email will automatically be sent to the account of the business indicated that a subscription on an order has been created.

On the order datasheet from the Backoffice the information related to the subscription can be seen.

Subscription payments generate the “Order Again” action on the original order.

On the order datasheet it can be seen that it corresponds to a payment for a subscription

When a subscription payment is made, if the product is not in stock, the amount paid will be refunded to the user and an email sent to both the client and the business indicating this issue.

Full or Partial Refunds

Within the Prestashop User Area, in MY ACCOUNT a new “MY CARDS AND SUBSCRIPTIONS” section will appear. In this area we can See/Create Tokenised cards, tokenise and See/Cancel active subscriptions

Full Refund:

In the Order details, when it has been made through PAYCOMET the information indicated above will be shown. The amount to refund must be indicated in the Amount Refunded field, clicking on the button “Refund XXX” through PAYCOMET proceeding to refund the indicated amount.

If everything goes well, a Note will be created in the order with the result of the refund operation on PAYCOMET.

The information that we see in the PAYCOMET refund section once the process has been carried out will be

To make a partial refund, we must indicate a value equal to or less than the outstanding amount. We click the Partial Refund of Payment button and a payment to the client’s card will be made for the indicated value.

Partial Refund:

To make a partial refund, we must indicate a value equal to or less than the outstanding amount. We click the Partial Refund of Payment button and a payment to the client’s card will be made for the indicated value.

If an amount greater than the outstanding amount is entered, an error will be shown.

In the previous example, we indicated that we wanted to refund, for example, 15,18 euros and click on Partial Refund of Payment. This will appear in the following way:

We can carry out another Partial Refund of any amount or a Full Refund for the Outstanding amount. Thus, until the refunded amount is equal to the amount paid.

We can also carry out partial refunds on the card using the Prestashop refunds system.

To be able to carry out partial refunds, the refunds for goods option must be activated in the Backoffice.

Once activated, on the order datasheet, the “Standard Refund” or “Refund Products” option is shown, according to the order status.

To carry out the partial refund we click on “Standard Refund” and the processed products are shown with the information for carrying out the refund:

We select the products that we wish to refund. For example, if three Blouses have been ordered, we can return 1, 2 or 3. It is the same for all other products.

Once it has been entered what we wish to refund, we can select the “Create a Coupon” option in which case the refund is not made to the client’s credit card .

If this option has not been selected, the amount for the products indicated will be refunded to the client’s credit card and a private Message will be shown with the outcome of the operation

By carrying out a Partial Refund, it must be taken into account that the amount to refund will be less if a Full Refund is later made, as part has already been refunded.

From the Banco Sabadell panel a Full or Partial refund can be made at any time

User Area

Within the Prestashop User Area, in MY ACCOUNT a new “MY CARDS AND SUBSCRIPTIONS” section will appear. In this area we can See/Create Tokenised cards, tokenise and See/Cancel active subscriptions

My Cards

  • Save: Serves to save a description associated with the card. (e.g.: Personal card).
  • Remove: Clicking this option will remove the tokenised card.
  • Link Card. New cards can be linked. By clicking this option the fields will be shown for entering the information of a new card.

My Subscriptions

  • In progress. The “Cancel Subscription” option will be shown.
  • CANCELLED. CANCELLED will be shown.
  • FINALISED. The subscription has been finalised. FINALISED will be shown.

Do you have any unresolved questions?

Enter your account control panel and open a new ticket.

Enter your panel