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

[ECP-8333] Fix disappearing giftcard discount data after login #432

Merged
merged 3 commits into from Nov 17, 2023

Conversation

candemiralp
Copy link
Member

Summary

After login Shopware triggers SalesChannelContextRestoredEvent event to update the cart and remove the guest shopper cart. An event listener was created for this event to change the context token in adyen_payment_state_data table. Additional function was added to set the payment method to selected Adyen giftcard as this data disappears as well after the login due to context token change.

Tested scenarios

  • Giftcard payments for guest/logged-in shoppers

@candemiralp candemiralp requested a review from a team as a code owner November 14, 2023 11:35
hossam-adyen
hossam-adyen previously approved these changes Nov 14, 2023
@candemiralp candemiralp merged commit 77fe0d6 into develop Nov 17, 2023
11 checks passed
@candemiralp candemiralp deleted the ECP-8333 branch November 17, 2023 11:58
@khushboo-singhvi khushboo-singhvi mentioned this pull request Nov 22, 2023
@khushboo-singhvi khushboo-singhvi added the Fix Indicates a bug fix label Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Indicates a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants