- Posts: 3
- Thank you received: 0
Form submission fails w 303 when inside iFrame on 'other' website.
- Montana Burgess
- Topic Author
- Offline
- New Member
Less
More
3 years 6 months ago #144412
by Montana Burgess
Form submission fails w 303 when inside iFrame on 'other' website. was created by Montana Burgess
I have Donation forms that work fine when not embedded.
However, when I embed the same form in an iFrame in another website that is not same-origin as my JoomDonation instance, after completing and submitting the form I do not get the thank-you message, instead it just reloads the cleared form. From my JDonation server access logs, I see that the POST resulted in a 303 and redirects to the same 'cleared' form. As well, I find in my payment processor logs (Stripe) there is a log entry "POST /v1/tokens" but no completed payment. Also, there is no record of any kind in the JDonation component.
Any ideas on how to make forms work in iFrames?
However, when I embed the same form in an iFrame in another website that is not same-origin as my JoomDonation instance, after completing and submitting the form I do not get the thank-you message, instead it just reloads the cleared form. From my JDonation server access logs, I see that the POST resulted in a 303 and redirects to the same 'cleared' form. As well, I find in my payment processor logs (Stripe) there is a log entry "POST /v1/tokens" but no completed payment. Also, there is no record of any kind in the JDonation component.
Any ideas on how to make forms work in iFrames?
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
3 years 6 months ago #144413
by Mr. Dam
Replied by Mr. Dam on topic Form submission fails w 303 when inside iFrame on 'other' website.
Hi Montana,
Could you please send me the link to your Iframe with Donation form?
Thanks
Dam
Could you please send me the link to your Iframe with Donation form?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Montana Burgess
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
3 years 6 months ago #144464
by Montana Burgess
Replied by Montana Burgess on topic Form submission fails w 303 when inside iFrame on 'other' website.
Page with iFrame embedded form that fails is:
sustainablekootenays.org/2020/04/22/dona...kootenay-resilience/
Same form in same-origin page, and that works, is:
charity.ecosociety.ca/wk-resilience
Thanks
sustainablekootenays.org/2020/04/22/dona...kootenay-resilience/
Same form in same-origin page, and that works, is:
charity.ecosociety.ca/wk-resilience
Thanks
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
3 years 6 months ago #144541
by Mr. Dam
Replied by Mr. Dam on topic Form submission fails w 303 when inside iFrame on 'other' website.
Hi Montana,
Could you please enable Stripe test mode so i can test with fake credit card?
Thanks
Dam
Could you please enable Stripe test mode so i can test with fake credit card?
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Montana Burgess
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
3 years 6 months ago #144559
by Montana Burgess
Replied by Montana Burgess on topic Form submission fails w 303 when inside iFrame on 'other' website.
Stripe is now in test mode.
Thanks.
Thanks.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
3 years 6 months ago #144583
by Mr. Dam
Replied by Mr. Dam on topic Form submission fails w 303 when inside iFrame on 'other' website.
Hi,
I am afraid that the Stripe payment gateway (Stripe Card Element) doesn't work on IFrame tag. Could you please try with another payment gateway?
Thanks
Dam
I am afraid that the Stripe payment gateway (Stripe Card Element) doesn't work on IFrame tag. Could you please try with another payment gateway?
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam, Dũng Nguyễn Việt
Support
Documentation
Information
Copyright © 2024 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.