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
Trustly is available for shoppers in the following countries:
Austria
Croatia
Cyprus
Czech Republic
Denmark
Estonia
Finland
Germany
Latvia
Lithuania
Malta
Netherlands
Norway
Spain
Sweden
United Kingdom
Requirements
Make sure the billing country code is set to AT, CY, CZ, DE, DK, EE, ES, FI, GB, HR, LT, LV, MT, NL, SE.
Supported currencies
CZK
DKK
EUR
GBP
NOK
SEK
Workflow
Shoppers select Trustly as a payment option in the interface you provide to them.
Create the order object. Use TRUSTLY as the type of the
PaymentDetailsobject, and includeReturnURL.Use the placeOrder method to send the data to 2Checkout.
Once you place the order, 2Checkout logs it into the system. At this point in time, the status of the order is PENDING.
2Checkout returns an order object as the output of the placeOrder method.
Use the
PaymentMethodobject 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...bc7fd72d008428After being redirected to Trustly, shoppers need to complete the steps of Trustly payment flow.
After customers enter their payment data to Trustly, Trustly notifies 2Checkout if the payment is approved, and the status of the order becomes COMPLETE.
Shoppers are redirected to the
RedirectURLfrom the order information object. In case the payment fails, shoppers are redirected to theCancelURL.
Last updated
Was this helpful?