Before launch

Once you have everything prepared from your side, we would like to test Twisto before launching it. We want to ensure consistent look and behavior of Twisto across different e-shops to avoid confusing the customers. After successful testing, we will enable the switch to the production mode. Then, all you need to do is replace the keys on your e-shop, provide the production URL of your e-shop and webhook URL, and you can proceed with the first order.

Based on our implementation experience, we have prepared a few points that may cause issues:

  • In case the createInvoice fails and throws an exception, the order must be canceled in the system (it should not be shipped without our invoice).
  • The check and createInvoice methods should contain identical data (even a minor difference in spaces in the name can result in rejection).
  • Phone numbers should always be sent in international format (e.g., +420222703333).
  • If an order contains multiple units of the same item, the total price must be a multiple of the unit price and quantity.
  • Negative items in the order (discounts and coupon codes) should have the is_discount parameter set to true.
  • In case of order rejection, the customer should be redirected to the payment method selection.
  • Shipping and payment are two separate items.