mark-when / markwhen

Make a cascading timeline from markdown-like text. Supports simple American/European date styles, ISO8601, images, links, locations, and more.
https://markwhen.com
MIT License
3.56k stars 126 forks source link

Can't subscribe / process Stripe payment due to cross-origin iframe security error #90

Closed michealrm closed 1 year ago

michealrm commented 1 year ago

Hello,

When trying to pay for a monthly subscription, I am getting an error.

Steps to reproduce

Blocked a frame with origin "https://js.stripe.com" from accessing a frame with origin "https://markwhen.com". Protocols, domains, and ports must match. Global Code — inject.js:669

kochrt commented 1 year ago

Oof sorry about that, looking into it

kochrt commented 1 year ago

Can you try it again? I pushed some changes that should hopefully have taken care of it. If it still doesn't work let me know.

michealrm commented 1 year ago

Yup, I was able to subscribe! Got the payment confirmation e-mail.

Although the error still appeared in the console and after the button loaded on Submitting, it just changed back to Submit, so the only way that I knew the payment was successful was by checking my e-mail and refreshing the page.

Additionally, I'm seeing the Subscription since 1/20/1970. Despite today being 12/29 and then of course the year.

If you'd like I can create separate issues for these @kochrt?

kochrt commented 1 year ago

That would be great, if you don't mind!

Sorry for the less than pleasant onboarding experience 😞. If you notice other issues or have suggestions please continue to let me know!

michealrm commented 1 year ago

Sounds good, will do. Thanks for the quick response time on this issue. And thank you for building this great project (hence the subscription)!