0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Allowed checkout flow to be started without member

no-issue

This will allow non-logged in members to start the stripe checkout flow,
which will result in a webhook being sent
This commit is contained in:
Fabien O'Carroll 2019-09-25 13:43:25 +07:00
parent a6fa0bc043
commit 11e246a93a

View file

@ -57,7 +57,7 @@ Array.prototype.forEach.call(document.querySelectorAll('[data-members-plan]'), f
credentials: 'same-origin' credentials: 'same-origin'
}).then(function (res) { }).then(function (res) {
if (!res.ok) { if (!res.ok) {
throw new Error('Could not get identity token'); return null;
} }
return res.text(); return res.text();
}).then(function (identity) { }).then(function (identity) {