Issue Description
The variable $entity_id is never defined on line 88 in /recurly/modules/recurlyjs/src/Form/RecurlyJsSubscribeForm.php
As a result, the account code is always 'user-' which causes issues with multiple account creation via the Subscribe form.
$recurly_account->account_code = $entity_type . '-' . $entity_id;
Solution/Patch
A simple patch replacing $entity_id with $entity->id() should resolve this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | entity_id_variable_undefined-2886639-2.patch | 691 bytes | utsavjshah |
Comments
Comment #2
utsavjshah commentedComment #3
utsavjshah commentedComment #4
markdorisonComment #5
markdorisonComment #7
markdorison