Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
styledecimal
typelist
printablefalse

Problems

1. Waylet configuration by store
Status
colourRed
titleNeed start

Looking in sandbox configuration, it seems each account has his own set of commerceId, secret and apiKey.

We need to check if this proceeds and how we’ll handle on our side in case we need to store this data by restaurant in our platform.

This ticket was created to track this:

Jira Legacy
serverSystem JIRA
serverId255417eb-03fa-3e2f-a6ba-05d325fec50d
keyIBFEC-1697

cc Raphael Ferreira Gomes Ruani, Andrea

Repositories on this feature

...

...

  • Similar to Paypal and Bizum, Waylet has his own interface, provided by Paycomet, which should be instantiated per request of checkout link.

  • Waylet should be identified on Admin/Support Tool

Breakdown

The tasks are almost the same as we done implementing Bizum. Here a copy of the steps just in case the original page get archived.

  1. Add Waylet into packages (original source)

    1. Repo: intl-packages
      Waylet must be added in CartGooglePaymentTypeExclusion, XenialDeliveryPayTypeId and RBIPaymentCard, then run the yarn build command.

Panel
panelIconId1f3c6
panelIcon:trophy:
panelIconText🏆
bgColor#FFFAE6

Pro tip: when making any modifications to the package, the other repositories only receive these new modifications after running Bumps.

  1. Add to Loyalty (original source)

    1. Repo: intl-loyalty

    2. In the "loyalty-middleware" folder, update the packages

...

Add to PSP Service

...

Add to graphQL

Sequence Diagram

...

    1. Bump the new version of @rbilabs/intl-payments in intl-loyalty/loyalty-middleware

    2. Build the loyalty middleware: yarn install && yarn build

    3. Generate the loyalty middleware sdk: yarn sdk:generate . This creates loyalty middleware SDK with MdwRBIPaymentCard

    4. Then, finally, in WL-GQL you can load this latest version of intl-loyalty-middleware-sdk

  1. Add to Fulfillment (original source)

    1. Repo: intl-fulfillment-service

    2. Update Packages

    3. Define Waylet in CARD_TYPE_TO_MDW, this file.

    4. Define Waylet in MAP_GQL_CART_PAYMENT_TO_COMMON, this file.

    5. Define Waylet in MAP_GQL_CART_PAYMENT_TO_RBI_COMMON, this file.

  2. Add to Paycomet Payment Service (original source)

    1. Repo: intl-psp-paycomet-service

    2. Taking advantage of Bizum refactor to accomodate both Bizum and Paypal, we just need to add the Waylet ENUM in the payment-core/common.types.ts, like here.

    3. Add Waylet into payment-core/paycomet-helper.ts, like here.

    4. And add it in the outcome validations, take a look at outcome folder..

Sequence Diagram

...

https://sequencediagram.org/

...