Jump to content

How to make a call to another server with a secret

Recommended Posts

I need to add a form to my website which collects a users name and email, then accepts payment via credit card (to square if possible), then when the payment is complete make an api call to another server, passing the name and email.  The call to the other server will include a secret, so it should be made from the backend of squarespace.  I am long time full stack developer and have developed similar things on wix and woocommerce, but not sure how to start with squarespace.  Can anyone direct me at some resources?  Or, suggestions given the limitations of squarespace?

Link to comment
  • Replies 2
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

I don't believe you can do this in squarespace without maybe a 7.0 website that is in developer mode. I still am not entirely sure this is possible though since we don't quite have the same back end server access that another type of site does. Keep in mind though that dev mode adds a whole slew of new potential issues like not getting template updates anymore, extremely minimal SS support on custom code, the issue of handing it off to another dev who doesn't know how or doesn't want to work in dev mode. It's worth checking in with the SS support team maybe to ask or maybe someone else will chime in...

  Did I help you? Buy me a coffee!

👨‍💻 Bergen Design Co.

💻  I'm for hire on Upwork!

🕸️ Squarespace Experts  

🖥️ 99Designs

 🛠️ Web Designer's Toolkit

**some of these contain affiliate links

Link to comment
1 hour ago, seth4520 said:

I need to..,make an api call to another server, passing the name and email.  The call to the other server will include a secret, so it should be made from the backend of squarespace.

This is not possible on Squarespace. You only have frontend access. 

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.