Describe the bug
NG 17 with modules using for root with nxg-stripe v17.
This is failing when elements are initialized.
l is payment (which is the passed mode) but the u.value.parsedIntentSecret is undefined causing the element to throw an error.
var l = ["payment", "linkAuthentication"].indexOf(o) > -1
, d = "payment" === t.componentName && (u.value.parsedIntentSecret || null);
if (l && !t.clientSecret && !t.deferredIntent && !d)
throw new S.No("In order to create a ".concat(t.componentName, ' element, you must pass a clientSecret or mode when creating the Elements group.\n\n e.g. stripe.elements({clientSecret: "{{CLIENT_SECRET}}"})'));
Describe the bug NG 17 with modules using for root with nxg-stripe v17.
This is failing when elements are initialized. l is payment (which is the passed mode) but the u.value.parsedIntentSecret is undefined causing the element to throw an error.
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect element to be initialized with parsedIntentSecret
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context NG17 with version ngx-stripe 15.3.0 works as expected