I want help for Custom E-Commerce Platform Integration with Square Payments

Hello everyone :slightly_smiling_face:

I am in the process of developing a custom e-commerce platform & I want to integrate Square Payments into our system. Our platform is built using React for the front end & Node.js for the backend. I have been exploring the Square Developer documentation and SDKs but I am facing some challenges that I hope to get some insights on from this community.

  • What is the best way to handle Square’s access tokens and API keys in a Node.js
    environment securely?
  • It has been noticed that Square offers a Payment Form (SqPaymentForm) that can be
    integrated into websites. Has anyone managed to include this into a React application
    successfully?
  • What are the best methods for testing the integration of Square Payment in a
    development setting? When utilizing Square’s API; how do you manage problems and
    logging? Any advice on how to put up thorough logging and error tracking systems? :innocent:

https://developer.squareup.com/forums/t/how-to-integrate-card-payments-in-square-with-my-own-sfmc-overviewecommerce-site/2323

It will appreciated. Thank you in advance for your help and assistance :slightly_smiling_face:

:wave: I’m Square Dev AI, here to help answer your question!
Based on the information you’ve provided, the following documentation will help answer your question:

Additional Documentation

Payment API: Process Online and In-Person Payments
Square Node.js SDK Quickstart
Reader SDK

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.
Otherwise one of our Developer Advocates will provide additional assistance shortly.