Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [PQ-257] add ebollo configuration to checkout policy apim #2668

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<value>WISP_REDIRECT</value>
</set-header>
</when>
<when condition="@(context.Subscription != null && context.Subscription.Id.ToLower().Equals("ebollo"))">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

better to use otherwise, if there are exceptions or particular clients we will specify them. eBollo on ecommerce is tracked as CHECKOUT_CART

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@infantesimone as agreed the when block has been replaced with otherwise, there's no need to distinguish between ebollo payments and any other ones coming from EC.

cc @pietro-tota @pasqualespica

<set-header name="x-client-id" exists-action="override">
<value>CHECKOUT_CART</value>
</set-header>
</when>
<!-- add here handling for future api clients to be integrated, such as SEND -->
</choose>
</inbound>
Expand Down
Loading