Skip to main content
knowledgecenter.2checkout.com

Trustly

Overview

With Trustly, you can accept payments, issue payouts, and access valuable user insight data. Easy activation and multi-currency functionality give you the power to expand your business across borders with access to customers in Europe, Australia, Canada, and the US.

Availability

Only shoppers from these countries are able to purchase using Trustly:

  • Austria
  • Belgium
  • Czech Republic
  • Croatia
  • Denmark
  • Estonia
  • Finland
  • Germany
  • Latvia
  • Lithuania
  • Netherlands
  • Poland
  • Slovakia
  • Spain
  • Sweden
  • UK

Requirements

Make sure the billing country code is set to AT, BE, CZ, HR, DK, EE, FI, DE, LV, LT, NL, PL, SK, ES, SE, GB.

Supported currencies

  • CZK
  • DKK
  • EUR
  • NOK
  • PLN
  • GBP
  • SEK

Workflow

  1. Shoppers select Trustly as a payment option in the interface you provide to them.
  2. Create the order object. Use TRUSTLY as the type of the PaymentDetails object, and include ReturnURL.
  3. Use the placeOrder method to send the data to 2Checkout.
  4. Once you place the order, 2Checkout logs it into the system. At this point in time, the status of the order is PENDING.
  5. 2Checkout returns an Order object as the output of the placeOrder method. 
  6. Use the PaymentMethod object to create a redirect URL for the shoppers, concatenating the values of the Href and avng8apitoken parameters. Here's an example of the redirect URL: https://api.avangate.com/6.0/scripts...bc7fd72d008428
  7. After being redirected to Trustly, shoppers need to complete the steps of Trustly payment flow.
  8. After customers enter their payment data to Trustly, Trustly notifies 2Checkout if the payment is approved, and the status of the order becomes COMPLETE.
  9. Shoppers are redirected to the RedirectURL from the Order information object. In case the payment fails, shoppers are redirected to the CancelURL. 
  • Was this article helpful?