danibram / trustly-client

A node client to comunicate with trustly.
https://github.com/danibram/trustly-client
MIT License
6 stars 8 forks source link

Api for trustly Live endpoint #13

Closed karteek-dev closed 6 years ago

karteek-dev commented 6 years ago

hi Daniel This repo works great for Turstly test api endpoint.

Will it be possible to have trustly production endpoint https://api.trustly.com/1 in this repo?

danibram commented 6 years ago

As is written in the README you only have to change the environment variable:

[optional] 'environment': By default is "development", and it does the http calls to trustly development environment (https://test.trustly.com/api/1), if you pass production it turns to https://trustly.com/api/1, so remember to change that variable when you go to production