In the PayPal sandbox environment,payment success,but Merchant balance remains 0

chen1991
Contributor
Contributor
In the PayPal sandbox environment, the personal account payment was successful, but the balance of the merchant account is 0. There are transaction records, but the transaction records show that the payment is listed as on hold (a partial refund of this order was successful), so why is the merchant account balance always 0.
I first created an authorization order with the interface, and then took out the approval url to log in and authorize on the web side. Then I called the “/v2/checkout/orders/{order_id}/authorize“ interface, and then I called the “/v2/payments/authorizations/{authorization_id}/capture“ interface to capture the authorization order.
 
 
So, is there a problem with where I did it, and how should I do it
Login to Me Too
5 REPLIES 5

chen1991
Contributor
Contributor
Even if it is a CAPTURE order, after the personal account payment deduction is successful, the merchant account balance remains unchanged, and the order record shows the payment status as completed
Login to Me Too

chen1991
Contributor
Contributor

anyone knows the reason? who can help me 

Login to Me Too

Kavyar
Moderator
Moderator

Good day @chen1991 

 

Thank you for posting to the PayPal community.

 

I kindly request you to retry the process by following the below steps.

 

Merchant should first perform Create Order API( https://developer.paypal.com/docs/api/orders/v2/#orders_create) call and then redirect the customer/buyer to "approve" URL. 

 

Once the order is approved by the customer/buyer, merchant should perform CaptureOrder ( https://developer.paypal.com/docs/api/orders/v2/#orders_capture) API call and customer/buyer should pass the valid funding source.

 

After completing all the above steps. you can access your transaction history by following the outlined steps below:

 

  1. Click on the provided link to login to your sandbox account -  https://sandbox.paypal.com
  2. Once you have successfully logged in , locate the "Activity" tab.
  3. Under the "Activity" tab, select "All Transactions" to access the details of your transaction history.

 

If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

chen1991
Contributor
Contributor

chen1991_0-1700570110321.png

chen1991_1-1700570144209.png

 

 

Thank you for your reply. I have operated as you replied multiple times, but the transaction record exists and the account balance is still 0. I would like to ask if the merchant's balance will not change through transactions in a sandbox environment. I am not sure if this situation is normal compared to a sandbox environment or if it is caused by my lack of a certain step of operation

Login to Me Too

Kavyar
Moderator
Moderator

Good day @chen1991 

 

Thank you for posting to the PayPal community.

 

Kindly follow the steps below to address the current issue you're facing.

 

  1. Click on the provided link https://developer.paypal.com/ to login to your developer account.
  2. Once logged in, navigate to Testing tools and click on Sandbox Accounts
  3. Select your Sandbox Account 
  4. Scroll down to Settings and Locate the "Payment Review" option.
  5. Toggle the "Payment Review" settings to the desired configuration to resolve the issue.

 

By adjusting the "Payment Review" settings, you will have control over the payment status and can handle them accordingly.

 

I would like to suggest that you perform a new transaction and verify the balance in the sandbox environment.

 

If your still facing issues, please create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detailed information and error details.

 

Sincerely,

Kavya

PayPal MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.