Square Web-Payments SDK and Laravel 10 Intergration

Good evening,

I am a little confused as to which Square Payments API I should be using with Square Web-Payments SDK. All the YouTube videos seem to have different versions. V1 being depreciated should I be uising version 2

Thanks in advance

: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

Versioning in Square APIs
Versioning in Square APIs
Migrate from Transactions API

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.

The client side Web Payments SDK you’ll want to use the latest version which is v1 for the SDK. For the APIs you’ll definitely use the v2 Payments API which is the our supported API for processing payment. Our previous v1 Payments API is fully retired now. :slightly_smiling_face:

Hi Bryan, thanks for the response, That helps a lot. If myunderstanding is right I need both to take payments. The Web-payment SDK talfs to the Payments API V2.
Thanks in advance.

Yes, that is correct. You will use both to take payments. :slightly_smiling_face: