NewStore partners with Square as the payment service provider (PSP). Square is the payment provider for retailers with stores in Japan, where Adyen does not yet support in-store payments.
To set up Square with NewStore, see the integration guide.
Setting up Square credentials
Use Square Secrets API to specify the following values:
Feature/Property
Configuration setting
application_idThe Square application ID provided by the retailer, for the Square PSP API.
access_tokenThe access token provided by the retailer, for the Square PSP API.
Note
To view how the application ID and the access token is generated, see Configuring the Square API.
Use the Update Square signature key API to update the signature key of the Square webhooks provided by the retailer:
Feature/Property
Configuration setting
signature_keySignature key of the Square webhooks provided by the retailer.
Note
To view how the signature key for Square is generated, see Configuring notifications from Square.
Setting up NewStore to connect with Square
To configure Square and add related values in NewStore for the PSP:
Retrieve the current Square configuration using the Get PSP Square configuration method.
Specify the following value in
api:Feature/Property
Configuration setting
base_urlThe URL for the Square PSP API:
https://connect.squareup.com/v2/.Add an item to the list for each NewStore store that will support Square payments in
store_mapping:Feature/Property
Configuration setting
location_idThe location ID provided by the retailer.
store_idThe NewStore store ID.
Apply the updated configuration using the Update PSP Square configuration method.
Activating the Square integration
Retrieve the current provider configuration using the Get FAT PSP configuration method.
Add a
squareitem with the following values to theinternal_providersproperty:Feature/Property
Configuration setting
endpointSpecify
/psp_square.PSPSquare/Execute.protocolSpecify
grpc.Add Square as a payment option to specific stores, where Square POS will be used to accept card and wallet payments. For more information, see Configuring payment options.
Use the Update FAT PSP configuration method to apply the updated configuration.
Related topics