The integration of collana pay offers two available options. The sales process is the same for both options. However, communication is handled differently.
The direct connection requires a webshop integration, which enables a seamless connection to collana pay. With the direct connection, the webshop receives the transaction ID generated by collana pay, which is transferred to the ERP system after the order process has been completed. This enables the ERP system to carry out a status request.
create
A collana pay transaction is started with create. The most important data is transferred.
Example: A customer has entered all relevant data in the webshop and clicks on "Pay now".
prepare
Prepare is the preparatory interaction. This step involves communicating with the PSP for the first time. A redirect link may already be returned in this step, to which the customer is redirected.Example: The customer is redirected to the payment service provider's website and asked to enter the payment details. The customer confirms the payment.
reserve
The amount of money is reserved in the reserve. A redirect link can also be transmitted here, to which the customer is redirected.Example: The customer is redirected back to the webshop and sees the "Thank you for your order" page. The order has been completed.
status
The status of the transaction is requested from collana pay. The entire transaction is returned with all previous interactions. There is no communication with the PSP.Example: The order arrives in the ERP system, where various checks are performed, e.g. for completeness. The order is ready to be processed.
capture
The capture captures the reserved amount. The money is requested from the customer by the PSP.Example: The order has been checked and it has been ensured that the goods can be delivered. The amount is requested and the order can be processed by logistics.refund
If the amount or part of the amount is to be refunded, the refund endpoint can be used. The money is then credited back to the customer via the PSP.
Example: The customer does not want to keep the received goods and returns them. The return is received and after successful verification of the goods, the money is credited to the customer.
The alternative to the direct connect architecture ist the "Payment transaction import" architecture.