0

Is there any way to have a login on my python program that accesses my squarespace site? For example, I have a game that costs 4.99, and I want to make sure that no one can “copy-paste” my program, so I add a login. This login would connect to SquareSpace, and check if the account used to log in bought the game.

1 Answers1

0

I'm going to assume that you have a Squarespace website through which you are selling the game. That being the case, customer information could be accessed from a different service/server via a couple methods:

  1. Squarespace Commerce API: Use of the Squarespace Commerce API currently requires an "Advanced Online Store" plan from Squarespace, costing $40-$46/month at time of writing. If that is an option, you can obtain order information from your Squarespace site and use it to verify customer purchases.

  2. Stripe API: Because customer payments through your Squarespace site will be processed via Stripe, it should be possible to use the Stripe API to access order/payment information as well. However, it may be more difficult depending on how Squarespace is submitting the information to Stripe.

It appears possible to filter customers by email address, though I've not explored this option myself. If this method works, it would avoid having to pay for a Commerce - Advanced plan through Squarespace, a significant cost for access to such a basic set of API features.

Brandon
  • 3,572
  • 2
  • 12
  • 27