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.1k
  • 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

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. 

About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.