Skip to content
This repository was archived by the owner on Jul 10, 2026. It is now read-only.

Check getPaymentMethodKey() for an empty string - #10

Open
umairkj wants to merge 1 commit into
spryker:masterfrom
umairkj:patch-1
Open

Check getPaymentMethodKey() for an empty string#10
umairkj wants to merge 1 commit into
spryker:masterfrom
umairkj:patch-1

Conversation

@umairkj

@umairkj umairkj commented Jan 30, 2023

Copy link
Copy Markdown
Contributor

If getPaymentMethodKey() returns an empty string, it can lead to a Checkout error which is difficult to diagnose. Either throw exception at getPaymentMethodKey if it is not found or check for an empty string here.

If getPaymentMethodKey() returns an empty string, it can lead to a Checkout error which is difficult to diagnose. Either throw exception at getPaymentMethodKey if it is not found or check for an empty string here.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant