Sandbox OAuth + app_fee_money: where should the application fee appear?
Hi Square Developer Community,
I am testing a marketplace-style payment flow in the Square Sandbox.
The intended flow is:
-
The application is the Square developer application/platform.
-
A creator connects their Square account through OAuth.
-
A fan makes a $5.00 payment to the creator through the application.
-
The application sets
app_fee_moneyto 20% ($1.00). -
The creator should receive the remaining amount after the Square processing fee and the $1.00 application fee.
-
The $1.00 application fee should go to the developer/platform account.
The payment was successfully completed in Sandbox.
The Square transaction shows:
-
Gross payment: $5.00
-
Square processing fee: $0.45
-
Application fee: $1.00
-
Amount transferred: $3.55
-
Fee source shows: Square $0.45 and Default Test Account $1.00
The payment was created using the creator’s OAuth access token, and the request includes:
app_fee_money = $1.00
My confusion is about the Sandbox accounts.
In the Square Developer Dashboard I currently see several Sandbox accounts, including:
-
Default Test Account
-
FS Payments
-
FS Creator Test
The successful payment shows Default Test Account as the location where the payment was collected.
However, when I check the FS Payments Sandbox account, I do not see the $1.00 application fee in its balance.
My questions are:
-
Which Sandbox account should receive the
app_fee_moneyin this setup? -
How can I identify the actual developer account associated with the Square application?
-
Where should the $1.00 application fee appear in the Sandbox Dashboard?
-
Does the fact that the transaction shows “Default Test Account $1.00” mean that Default Test Account is receiving the application fee, or is that simply how the fee is displayed on the seller side?
-
Is a separate Sandbox seller account such as “FS Creator Test” required for properly testing the OAuth + application-fee flow?
I want to verify the complete money flow in Sandbox before switching the application back to Production.
Thank you.