Payments
See how you can utilize different payment solutions.
Last updated
Was this helpful?
See how you can utilize different payment solutions.
Last updated
Was this helpful?
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.
Examples of the payment methods seen from the user perspective when creating an order on a storefront.
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.
As a checkout step, the user sees a list of available payment methods and selects the Credit card payment option.
The user chooses the Enter Payment Info button and then provided the credit card details.
The user chooses Pay Now and finished the checkout process. The payment amount is authorized automatically and it is captured during the invoice generation.
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.
As a checkout step, the user sees a list of available payment methods and selects the Credit card (3D Secure) payment option.
The user chooses the Enter Payment Info button and then has to provide the credit card details.
The user chooses Pay Now and sees the 3D Secure window.
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 is a solution to use for the off-site payments. It means the payments are done after an order is placed.
As a checkout step, the user sees a list of available payment methods and selects the Sprel payment option.
The user completes the checkout and after the order is completed sees the option to finish the payment.
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.
Details of the payment possibilities, cancellations and returns.
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
Capture is a process done during an invoice generation. It's when a payment is completed by settling funds for the transaction.
To generate the invoice, go to Management Dashboard -> Orders.
Select the order for which the payment is cancelled and go to the Data tab.
Choose the Create and Send Invoice button.
Result: The payment capture is done with the invoice generation. After that, the invoice is sent to a customer.
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.
To create the refund, go to Management Dashboard -> Orders.
Select the order for which the payment is cancelled and go to the Payment Info tab.
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 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.
To set the status as cancelled, go to Management Dashboard -> Orders.
Select the order for which the payment is cancelled and go to the Data tab.
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.