Body: <p>I'm trying to setup a contribution page so that users can choose gocardless or paypal as a recurring donation option. This seems to work when using the form built into the CiviCRM Contribution system. Whenever I try and do this using the webform function (which would be much preferred in terms of the flexibility over the look/branding etc) I am unable to setup a payment using the GoCardless sandbox. My site will happily send me to the GoCardless sandbox, and let me fill in details, but when returning to my site I get sent to the CiviCRM contribution page with the message</p>
  <p>&quot;Your browser session has expired and we are unable to complete your form submission. We have returned you to the initial step so you can complete and resubmit the form. If you experience continued difficulties, please contact us for assistance.&quot;</p>
  <p>Is this a known bug? Has anyone else encountered this?</p>
  <p>Thanks for any help</p>
  <p>Edited to add - we're on CiviCRM  5.58.1 and Drupal 9.5.7</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-20T02:42:20.427Z
Comments.Text: Andrew - we had this working a couple of years back. You may need to update the question with what version of things you are using. The issue, at the time. was related to stripe extension js.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-20T08:25:53.457Z
Comments.Text: Thanks for the reminder, I've edited to add that info. I hadn't thought to try Stripe, thanks for the suggestion. If it works for us it would solve a headache.
Comments.UserDisplayName: Cozy4907
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-20T19:40:00.897Z
Comments.Text: In hindsight i am not too sure what was the impact of stripe - but perhaps you can disable stripe and retest?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-20T19:42:19.157Z
Comments.Text: we may have had a fix on that site for this but has been a long time since we had to do anything for them. i will see if the guy who worked in it can take a quick look or has a better memory than me
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-09-20T20:21:06.327Z
Comments.Text: Ah ok thanks. Just to be clear: so far we haven't made GoCardless work via webform, so testing with Stripe instead. I've setup an account and got everything set up, but Stripe asked me for a "return_url" for the paymentintent confirmation, which I think is beyond my tech skills because I can't work out how to do it from the interface, so I'll get the company that does our development work on it. Thanks for the help.
Comments.UserDisplayName: Cozy4907
Tags: <civicontribute><webform-civicrm><gocardless>
Title: Cannot setup a drupal webform to work with GoCardless and CiviCRM contribution
ThreadText: # Cannot setup a drupal webform to work with GoCardless and CiviCRM contribution
  
  (Asked by: username_0 on 2023-09-19)
  
  I'm trying to setup a contribution page so that users can choose gocardless or paypal as a recurring donation option. This seems to work when using the form built into the CiviCRM Contribution system. Whenever I try and do this using the webform function (which would be much preferred in terms of the flexibility over the look/branding etc) I am unable to setup a payment using the GoCardless sandbox. My site will happily send me to the GoCardless sandbox, and let me fill in details, but when returning to my site I get sent to the CiviCRM contribution page with the message
  
  "Your browser session has expired and we are unable to complete your form submission. We have returned you to the initial step so you can complete and resubmit the form. If you experience continued difficulties, please contact us for assistance."
  
  Is this a known bug? Has anyone else encountered this?
  
  Thanks for any help
  
  Edited to add - we're on CiviCRM 5.58.1 and Drupal 9.5.7
  
  **Tags:** civicontribute, webform-civicrm, gocardless
  
  > **Comments:**
  > **username_1**: Andrew - we had this working a couple of years back. You may need to update the question with what version of things you are using. The issue, at the time. was related to stripe extension js.  
  > **username_0**: Thanks for the reminder, I've edited to add that info. I hadn't thought to try Stripe, thanks for the suggestion. If it works for us it would solve a headache.  
  > **username_1**: In hindsight i am not too sure what was the impact of stripe - but perhaps you can disable stripe and retest?  
  > **username_1**: we may have had a fix on that site for this but has been a long time since we had to do anything for them. i will see if the guy who worked in it can take a quick look or has a better memory than me  
  > **username_0**: Ah ok thanks. Just to be clear: so far we haven't made GoCardless work via webform, so testing with Stripe instead. I've setup an account and got everything set up, but Stripe asked me for a "return_url" for the paymentintent confirmation, which I think is beyond my tech skills because I can't work out how to do it from the interface, so I'll get the company that does our development work on it. Thanks for the help.  
  
  ---
  
  ## 0 answers
  
  