Payments

See how you can utilize different payment solutions.

Emporix allows for configuration of a variety of payment methods. In the scenarios below, you can see how the configuration works with the example of Emporix demo storefront.

To learn about the technical implementation of the Emporix payment gateway, see the Payments documentation in the System Management section.

User scenarios

Examples of the payment methods seen from the user perspective when creating an order on a storefront.

Credit Card with Spreedly Express

When users choose to pay with a credit card, they have to follow the standard payment process and provide their credit card details for payment authorization.

  1. As a checkout step, the user sees a list of available payment methods and selects the Credit card payment option.

  1. The user chooses the Enter Payment Info button and then provided the credit card details.

  1. The user chooses Pay Now and finished the checkout process. The payment amount is authorized automatically and it is captured during the invoice generation.

Credit Card 3D Secure with Spreedly Express

Users can choose to pay with a 3D secure credit card. In comparison to the standard credit card, 3D secure adds an additional security layer to the payment process. Users have to provide an authorization token that is generated and sent to them during the payment process.

  1. As a checkout step, the user sees a list of available payment methods and selects the Credit card (3D Secure) payment option.

  2. The user chooses the Enter Payment Info button and then has to provide the credit card details.

  3. The user chooses Pay Now and sees the 3D Secure window.

  1. The user finishes the checkout with the credit card authorization. Spreedly sends a callback to the Emporix payment gateway with a result of the authorization. The payment amount is authorized automatically and it is captured during the invoice generation.

Spreedly Sprel

Spreedly Sprel is a solution to use for the off-site payments. It means the payments are done after an order is placed.

  1. As a checkout step, the user sees a list of available payment methods and selects the Sprel payment option.

  1. The user completes the checkout and after the order is completed sees the option to finish the payment.

  1. The user chose the Finish Payment button and completed the payment process. Spreedly sends a callback to the Emporix payment gateway with a result of the authorization. The payment amount is authorized automatically and it is captured during the invoice generation.

Payment operations

Details of the payment possibilities, cancellations and returns.

Payment statuses

To check a payment status of an order, go to Management Dashboard -> Orders -> Payment Info tab.

  • In the Payment information section, you have information about the payment provider, payment method, transaction ID (an internal Emporix transaction ID), current status, authorized amount, paid amount and the last message.

  • In the Transaction logs section you can see all the payment events. Usually the following events are included there:

    • AUTHORIZATION_START - when an order is created

    • AUTHORIZATION_CALLBACK - when Spreedly notifies Emporix Payment-Gateway service about authorization status)

    • CAPTURE_SUCCESS - when an invoice is generated and capture operation finished with success

All possible statuses:

  • PENDING - an order has been created but payment is not done yet

  • AUTHORIZATION_SUCESS - an authorization flow finished with success

  • AUTHORIZATION_FAILURE - an authorization flow finished with failure

  • CAPTURE_SUCCESS - a capture flow finished with success

  • CAPTURE_FAILURE - a capture flow finished with failure

  • CANCELLATION_SUCCESS - a cancellation flow finished with success

  • CANCELLATION_FAILURE - a cancellation flow finished with failure

  • REFUND_SUCCESS - a refund flow finished with success

  • REFUND_FAILURE - a refund flow finished with failure

Payment capture

Capture is a process done during an invoice generation. It's when a payment is completed by settling funds for the transaction.

  1. To generate the invoice, go to Management Dashboard -> Orders.

  2. Select the order and go to the Data tab.

  3. Choose the Send Invoice button.

Result: The payment capture is done with the invoice generation. After that, the invoice is sent to a customer.

Payment refund

The payment refund is possible only when a payment has been invoiced and capture done. The user can get a full or partial refund of the order, but it's not possible to return more than the captured value.

  1. To create the refund, go to Management Dashboard -> Orders.

  2. Select the order for which the payment should be revoked and go to the Payment Info tab.

  3. In the Refund section add a value that should be refunded and confirm it by choosing the Refund button.

Result: The refund is confirmed and the event is visible in the Transaction logs.

Payment cancellation

Payment cancellation can happen for many reasons, for example when a user requests to cancel an order, or an order cannot be completed by a store.

If for any reason the order is not completed and the payment should be cancelled, the merchant can set the order status to cancelled. The cancellation is then done automatically after the status change.

  1. To set the status as cancelled, go to Management Dashboard -> Orders.

  2. Select the order for which the payment is cancelled and go to the Data tab.

  3. In the Order section choose Cancelled as the extended order status.

Result: The order payment cancellation is visible in the Payment Info tab. The status is displayed as Cancellation Success.

Last updated

Was this helpful?