Square Payment Component

I noticed that a Square Payment Component was created last year and now I am developing one for my clients since Stripe is refusing their account because it is categorizing them as a Crowd Funding company which is not true. I am now creating an alternative to Stripe Payment with their Square account. I want in the manifest a similar thing that prompts the app owner to connect their Square Account just like Stripe does. Image below

I read the documentation and can’t see how to have the owner click on connect account and it takes them to https://squareup.com/oauth/login to connect their account and redirect back to the app.

Does anyone have any insight that I am overlooking?

This is where I am after redoing it again since I thought I had, but I deleted it:

{
“displayName”: “Square Payment”,
“defaultWidth”: 250,
“defaultHeight”: 200,
“components”: “./index.js”,
“icon”: “./example-thumbnail.png”,
“props”: [
{
“name”: “accountStatus”,
“displayName”: “Account Status”,
“type”: “boolean”,
“helpText”: “Is your Square account connected?”
},
{
“name”: “connectSquareAccount”,
“displayName”: “Connect Square Account”,
“enabled”: {
“accountStatus”: false
}
},
{
“name”: “color”,
“displayName”: “Color”,
“type”: “color”,
“default”: “@primary
}
]
}

I did some coding in the manifest but still can’t get the button to show up for the owner to connect to Square as Stripe did, and I can’t find it anywhere in the documentation!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.