首页
开发手册
应用中心
工具
用户中心
Square Platform obtains configuration parameters
English
中文简体
English
上一篇
下一篇
#FoundPHP Square Use ### PHP Square Introduction Square is a foreign credit card platform. Most foreign payment methods are credit card payments. The platform is suitable for projects where users are foreign users. It also provides a separate financial management panel that can be accessed by entering the Square panel for management. `Square Credit card payment is not recommended for domestic projects` ----------- #### 1.Square Homepage https://squareup.com/developers ##### 1.1点击 "Developer Dashboard" Log in to the developer dashboard. Note: If you don't have an account, you need to register first ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/home.png) ##### 1.2 Enter the account password, log in to the developer dashboard ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/home_login.png) #####1.3 If you don’t have an account, click "Sign up" to register an account, enter the relevant information, and click "continue" ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/home_register.png) #### 2.After logging in successfully, enter the developer platform homepage: https://developer.squareup.com/apps ##### 2.1New user developer platform home page overview ###### 1. My Business [Go to Seller Dashboard(Enter the seller dashboard)] ###### 2. Create Your First Application(Build the first application) Before using square payment, an application must be created to obtain access_token and application ID ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/develop_home.png) ##### 2.2 Create Your First Application(Build application) Click to create the application -> enter the application name (Application Name) -> agree to the agreement -> click "Create Application" to submit the application ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/develop_add.png) ##### 2.3 Application Created Click "View details" to enter the application center, or re-create a new application to get the access token and application ID immediately ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/application_list.png) #### 3.Get Access_Token and Application ID ##### 3.1 Enter the application panel from the developer platform, click "Credentials" to enter the application information page ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/credentials.png) ##### 3.2 Test application environment The top of the application panel is selected as the "Sandbox" status, which means that it is currently a test application environment Sandbox Access Token and Sandbox Application ID are two parameters used in the Sandbox environment ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/develop_sandbox.png) ##### 3.3 Formal Application Environment Select the "Production" status at the top of the application panel, which represents the current application environment Access Token and Application ID are two parameters used in the formal application environment ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/develop_product.png) #### 4.View Collection Information, Customer Information: https://squareup.com/dashboard/ ![](https://dev.foundphp.com/plugin/view/default/square_manual/images/dashboard.png) #### 5.[Demo Download](https://dev.foundphp.com/plugin/view/default/square_manual/images/square_demo.rar "demo download")