- Add `access-token` header and update API endpoint in `createOrder` function of Alchemy service
- Improve logging functionality in logger module
- Miscellaneous updates and fixes in Alchemy controller
- Overall improvements to code quality and maintainability
- Remove `callbackUrl` from `dataOrigin` object and add it to `dataSign` object in `beginPay` function in `alchemy.controller.ts`
- Improve typing of `dataSign` object in `beginPay` function in `alchemy.controller.ts`
- Add new `createOrder` function and functionality to send post request with token to merchant API in `alchemy.svr.ts`
- Update `ALCHEMY_PAY_CB_URL` in `.env.development` to point to a new domain
- Add constant and callback URL to AlchemyController for Alchemy Pay
- Improve parameter validations and error handling in `alchemyCallback` function
- Remove unused variable `redirectUrl` in AlchemyController
- Update `.env.development` with Alchemy Pay callback URL
Add functionality to check pay result sign, create page sign, and refresh token
Implement a new `POST /pay/alchemy/cb` endpoint in `alchemy.controller.ts`
`alchemyCallback` method now checks `PayRecord` status and pay sign before changing status and returning empty body
- `ROLE_ANON` added to `alchemyCallback` method and import of `role` changed in `alchemy.controller.ts`
- `PayRecord.ts` added to modules with `PayRecord` class and payment property enums