How to pass user email into Stripe Payment Links

Hello,

I got rid of Simple Checkout block because it does not support 3D secure verification and I replaced it with direct Stripe Payment links (by clicking on button from a Pricing plan)
The issue is that I am not able to pass locked_prefilled user email into Stripe links.

This variable displays correctly on Pricing page {LOGGED_IN_USER:EMAIL} but it does not send any data to Stripe Payment Link. How to achieve that?
If this won’t work then how can I reliably connect user with their plan? If during checkout they fill out different email, it won’t match and probably different email will get the subscription.

Btw in general, how do you guys achieve simple subscription with 3D secure verification option? It seems like rocket science to achieve this in Softr. I am very surprised and disappointed.

See screenshots for more info.

Thanks in advance,
Erik

I managed to fix this issue by writing custom script that injects locked_prefilled_email and client_reference_id for button’s href in html (for each plan on Pricing page).
Then I also created two webhooks. One for Upgrading plan and second one for Downgrading plan(cancellation of subscription) and two automations in Airtable to handle Stripe payments and handle User table in Airtable(which is two way synced with Softr User table). Obviously based on Role field you create PAID and NON-PAID user groups in Softr, if you didn’t before.

Important details are that I used client_reference_id to match user in database(not email) and also Stripe serves as single point of truth, so I disabled the Role field in Airtable to be only edited by automations.

If anyone runs into similar issue, feel free to reach out. I might send specific codes which will need to be adjusted to your case of course.

Erik