twreporter / go-api

Golang API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`frontendRedirectUrl` needs to be updated

taylrj opened this issue · comments

According to this line, the frontendRedirectUrl is

"https://" + envToDonationHost[globals.Conf.Environment] + "/contribute/" + f + "/" + orderNumber

To meet front-end's design, frontendRedirectUrl needs to be updated like (for reference only) :

"envToDonationProtocol[globals.Conf.Environment]://" + envToDonationHost[globals.Conf.Environment] + "/contribute/line/" + f + "/" + orderNumber

This is an example of frontendRedirectUrl in localhost:

http://localhost:3000/contribute/line/one_time/twreporter-156713555982111400001

After the discussion, frontendRedirectUrl in development environment will be modified to:
https://test.twreporter.org/contribute/line/one_time/twreporter-156713555982111400001
as an example.

Close due to #291