...
Whitelabel Graphql: https://github.com/rbilabs/intl-whitelabel-graphql
Table of Contents |
---|
Sequence Diagram
Lucidchart | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
*Consider only changes to ENUM and Types in POC
Task
...
2: Update Loyalty (WIP)
Repo: intl-loyalty
Code Block |
---|
Kristoforus Odang MdwRBIPaymentCard is really just RBIPaymentCard defined here with the Mdw prefix added when generating type for the Loyalty Middleware (the openapi generator config defined here). schemata.ts <https://github.com/rbilabs/intl-packages|rbilabs/intl-packages>rbilabs/intl-packages | Added by GitHub openapitools.json <https://github.com/rbilabs/intl-loyalty|rbilabs/intl-loyalty>rbilabs/intl-loyalty | Added by GitHub So, create it what you need to do is: 1 - Add BIZUM in RBIPaymentCard defined in @rbilabs/intl-payments 2 - Bump the new version of @rbilabs/intl-payments in intl-loyalty/loyalty-middleware 3 - Build the loyalty middleware: yarn install && yarn build 4 -Generate the loyalty middleware sdk: yarn sdk:generate . This creates loyalty middleware SDK with MdwRBIPaymentCard 5- Then, finally, in WL-GQL you can load this latest version of intl-loyalty-middleware-sdk |
...
Update Packages
Define Bizum in
CARD_TYPE_TO_MDW
Define Bizum in
MAP_GQL_CART_PAYMENT_TO_COMMON
Define Bizum in
MAP_GQL_CART_PAYMENT_TO_RBI_COMMON
Task
...
4: Added Bizum payment to Paycomet
Repo: intl-psp-paycomet-service
...
Links
Add BIZUM in
TypePayment
and define Controller DTO.Refactor to remover PayPal and add Link (Pay with Link).
Generate Link to PayPal or Bizum.
Outcome
Add BIZUM in
TypePayment
and define Controller DTO.Refactor to remover PayPal and add Link (Pay with Link).
Payment Core
Add
TransactionMethodId
to Bizum with code 11Change function to identify payment with PayPal to identify payment with Link.
Payment
Change confirm payment function to works all payments with link and not only Paypal:
this.confirmPaymentPaypal
=>this.confirmPaymentLink
Task
...
4: Added Bizum payment to GraphQL.
Repo: intl-whitelabel-graphql
...