• Home
  • Get help
  • Ask a question
Last post 5 hours 33 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67805
All time tickets 10478
All time avg. posts per day 21

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#7494 – RSForm STRIPE Plugin: STRIPE Webhooks Failing

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 12 November 2020 22:20 UTC
wellingtonwebsites

I am using RS-Joomla's RSForm component which has a STRIPE plug-in to take purchases.
The form and STRIPE are working fine.
The problem is that STRIPE uses a web-hook to return the purchase confirmation and transaction data.
It looks like this when it comes back from STRIPE:

https://www.xxxx.nz/new/index.php?option=com_rsform&formId=4&task=plugin&plugin_task=stripe.return&code=629358ac8b3c63724b209e11ecaef80e

But this is failing and shows as a 404 error.

In SH404SEF config I then set RSForm to use the Joomla Router only.
The webhook still failed.

When I turned SH404SEF off completely was the only time that the webhook succeeded.

That, unfortunately, is not a good solution as I rely on your product!

Any ideas?

 
Friday, 13 November 2020 08:12 UTC
wb_weeblr

Hi

Well, that URL is a non-SEF one so really sh404SEF as no impact on it. The first things that come to mind are:

1 - Make sure these 2 options, under the "Advanced" tab, are disabled:

- "301 redirect from non-sef to SEF"

- "301 redirect from Joomla SEF to sh404SEF"

2 - How are you testing? If you just enter https://www.xxxx.nz/new/index.php?option=com_rsform&formId=4&task=plugin&plugin_task=stripe.return&code=629358ac8b3c63724b209e11ecaef80e in your browser address bar, it's expected to give a 404. Those URLs are only valid once and cannot be re-used.

3 - What kind of 404 are you getting? I mean exactly, what do you see on the the screen? the sh404SEF error page? the Joomla 404 page? your web server error page?

4 - What happens if you:

a - set RS Forms to "Leave as non-SEF"

b - Delete all RS Forms URLs in the SEF URL manager

c - Try again with a purchase (not testing by pasting a URL in the address bar)

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 

 
Friday, 13 November 2020 08:56 UTC
wellingtonwebsites

I tried the settings you recommended and they seemed to have worked!
Thank you for that!

Will do some live tests.

Thanks again.

 
Friday, 13 November 2020 10:06 UTC
wb_weeblr

Hi

Which settings, the 1st ones?

- "301 redirect from non-sef to SEF"

- "301 redirect from Joomla SEF to sh404SEF"

If so, yes, they should be left disabled (will be removed in the future). They are off by default on new installs and have been for a while but if your site is more than a couple years old, they might have been enabled when sh404SEF was first installed.

I will leave this ticket open in case you need to add something. It will automatically close in 2 weeks if no further comment is made.

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Friday, 13 November 2020 10:13 UTC
wellingtonwebsites

This one:
set RS Forms to "Leave as non-SEF"

That is what worked.

 
Friday, 13 November 2020 10:51 UTC
wb_weeblr

Hi

OK, a bit more odd as it should work without it and RSForms is quite a common extension. But glad it's sorted out!

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

 
Monday, 14 December 2020 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.