haiwu
16cd09d175
feat: support wechat pay ( #2312 )
...
* feat: support wechat pay
* feat: support wechat pay
* feat: update wechatpay.go
* feat: add router /qrcode
2023-09-07 15:45:54 +08:00
haiwu
05b2f00057
feat: support Pricings flow ( #2250 )
...
* feat: fix price display
* feat: support subscription
* feat: fix select-plan-> signup -> buy-plan -> login flow
* feat: support paid-user to login and jump to the pricing page
* feat: support more subscription state
* feat: add payment providers for plan
* feat: format code
* feat: gofumpt
* feat: redirect to buy-plan-result page when user have pending subscription
* feat: response err when pricing don't exit
* Update PricingListPage.js
* Update ProductBuyPage.js
* Update LoginPage.js
---------
Co-authored-by: hsluoyz <hsluoyz@qq.com>
2023-08-24 23:20:50 +08:00
Yaodong Yu
577bd6ce58
feat: fix response data assignment error ( #2123 )
2023-07-24 14:52:30 +08:00
Yaodong Yu
a6f803aff1
feat: refactor code to use responseOK everywhere ( #2111 )
...
* refactor: use responseOK return frontend format json data
* revert handle error
* revert handle error
2023-07-23 09:49:16 +08:00
Trần Thanh Tịnh
cd7589775c
feat: replace all panic by response err ( #1993 )
...
* fix: missing return after response error
* feat: handle error in frontend
* feat: disable loading and catch org edit error
* chore: i18 for error message
* chore: remove break line
* feat: application catching error
2023-06-27 21:33:47 +08:00
UsherFall
451fc9034f
fix: fix bug in PayPal payment provider ( #1959 )
2023-06-12 13:43:37 +08:00
yehong
02e692a300
feat: return most backend API errors to frontend ( #1836 )
...
* feat: return most backend API errros to frontend
Signed-off-by: yehong <239859435@qq.com>
* refactor: reduce int type change
Signed-off-by: yehong <239859435@qq.com>
* feat: return err backend in token.go
Signed-off-by: yehong <239859435@qq.com>
---------
Signed-off-by: yehong <239859435@qq.com>
2023-05-30 15:49:39 +08:00
Yaodong Yu
543b316942
feat: update swagger parameter id description ( #1532 )
2023-02-10 10:42:16 +08:00
Gucheng Wang
a6e9084973
Remove duplicated i18n words
2023-01-06 20:12:32 +08:00
Mr Forest
1bb3d2dea9
feat: refactor backend i18n ( #1373 )
...
* fix: handle the dataSourceName when DB changes
* reduce duplication of code
* feat: refactor translation error message
* feat: use json intsead of ini file
* remove useless translation
* fix translate problems
* remove useless addition
* fix pr problems
* fix pr problems
* fix split problem
* use gofumpt to fmt code
* use crowdin to execute backend translation
* fix pr problems
* refactor: change translation file structure same as frontend
* delete useless output
* update go.mod
2022-12-07 13:13:23 +08:00
Mr Forest
d86f3c88c7
feat: support i18n in backend err messages ( #1232 )
...
* feat: support i18n in backend err messages
* use gofumpt to fmt code
* fix review problems
* support auto generate err message
* delete beego/i18n moudle
* fix Github action test problems
* fix review problems
* use gofumpt to format code
* use gofumpt to fmt code
2022-10-23 15:16:24 +08:00
Gucheng Wang
04709f731b
Update beego to v1.12.11
2022-09-29 19:45:17 +08:00
疯魔慕薇
67a5adf585
feat: replace panic with details json error payload. ( #1039 )
...
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
2022-08-20 21:09:32 +08:00
Mikey
79119760f2
style: golint ( #988 )
2022-08-09 16:50:49 +08:00
Gucheng Wang
32b4d98c2a
Add ExtendProductWithProviders().
2022-08-07 15:45:06 +08:00
Yang Luo
4dca3bd3f7
Add Notify() to payment provider.
2022-03-14 02:56:04 +08:00
Yang Luo
c906f1e5d2
Add user and state to payment pages.
2022-03-12 20:03:58 +08:00
Yang Luo
bf5d4eea48
Add alipay provider.
2022-03-06 22:46:02 +08:00
Yang Luo
39ab71c5db
Add product pages.
2022-02-27 20:09:19 +08:00