Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add radom checkout session integration for new orders (#2627)
* feat: add radom checkout session integration for new orders * test: add no metadata test order item req * style: add new line to slice init in radom gateway * fix: set radom authorization header without bearer prefix * fix: rectify skus model tests after rebase * refactor: rename method createRadomSessID to createRadomSession * refactor: address comments * fix imports * update gateway to pointer * update radom checkout session request to pointer * rename order items to line items function * add radom product id getter on metadata * refactor: remove unused variable emptyCreateCheckoutSessionResp * refactor: remove unnecessary convert to UTC * refactor: sort imports * refactor: remove unused func mustDecimalFromString * feat: handle radom webhook events (#2640) * feat: add radom checkout session integration for new orders * fix: rectify skus model tests after rebase * refactor: address comments * fix imports * update gateway to pointer * update radom checkout session request to pointer * rename order items to line items function * add radom product id getter on metadata * feat: add radom checkout session integration for new orders * feat: handle radom webhook events * test: remove duplicate test and fix pointer after rebase * feat: set radom webhook verification key * refactor: use pointers for radom events * refactor: fix import order skus controller * refactor: simplify radom event processing checks * style: fix parse apostrophe * refactor: use pointer for radom subscription response * refactor: remove call to error when calling err on logging * refactor: use index directly on radom mdata * refactor: make radom action error naming less generic * refactor: use pointer for service in test * refactor: sort imports in radom.go * refactor: update radom empty payments error message * style: return from func call opposed to explicit return nil * refactor: use string in radom get subscription * refactor: add on conflict do nothing to order history insert statement * refactor: rename radom event to radom notification * test: remove duplicate test after rebase
- Loading branch information