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

Create payment instruments for each giftcard #857

Merged
merged 6 commits into from
Mar 24, 2023

Conversation

amihajlovski
Copy link
Contributor

Summary

Create payment instruments for each giftcard when doing payment from component (PayPal)

Fixed issue: SFI-5

@amihajlovski amihajlovski merged commit 3028364 into develop Mar 24, 2023
@amihajlovski amihajlovski deleted the bugfix/giftcard-payment-instruments branch March 24, 2023 09:11
const PaymentMgr = require('dw/order/PaymentMgr');
const Money = require('dw/value/Money');

let giftCardsHelper = {
Copy link
Member

Choose a reason for hiding this comment

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

giftCardsHelper could be initialized as const

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants