cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove "pending" from the customer's purchase?

Options
Go to solution
Meaxis
Contributor
Posted on

Hello!

I am currently trying to make a PayPal system where my users can buy an item for 1€.
My current setup is: On client side, the customer uses a smart button. Once the payment is completed, it heads to a checkout page with the payment ID as a get parameter. The server is in charge of checking if the payment exists and deliver the product if the product exists.

The problem is: The payment shows "Pending" under each payment in the Sandbox. I read that I had to confirm the payment.

I use the V2 Checkout PHP SDK on server side.

How to fix that?

Thanks in advance,
Meaxis

1 ACCEPTED SOLUTION

Accepted Solutions
Solved

How to remove "pending" from the customer's purchase?

Options
Go to solution
Meaxis
Contributor
4 REPLIES 4

How to remove "pending" from the customer's purchase?

Options
Go to solution
Chiranjeevi_L
PayPal Employee

Hi @Meaxis,

 

Thank you for contacting PayPal community.

 

Our sincere apologies for the inconvenience caused.


The transaction shows a status of "pending", as the payment cannot complete if sent to an email address which is not registered to a sandbox account. In these instances, if the email address exists (this is more relevant to live) an email will be sent to that address to advise the account holder they've received money.

 

I request to please cross check your sandbox email address and configure valid/correct sandbox email address.

 

Also, please follow the below steps via your sandbox business account to toggle "block payment"settings.

 

Login to PayPal.com >> Account settings >> go to "Payment preference" >> Block payments >> toggle settings.

 

Thank you for understanding and patience.

 

Sincerely,
Chiranjeevi

PayPal, Inc.


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

How to remove "pending" from the customer's purchase?

Options
Go to solution
Meaxis
Contributor

Hello!

It seems like I have to mark each product as "Sent" in the Sandbox account.
However, I am selling a digital item that automatically gets delivered on purchase. 

Is there a way to automate the acknowledgment and acceptance of payments through an API?

Thanks in advance,
Meaxis

Solved

How to remove "pending" from the customer's purchase?

Options
Go to solution
Meaxis
Contributor

https://developer.paypal.com/docs/integration/direct/payments/authorize-and-capture-payments/#captur...
I have found this that sounds like it resolves my problem about "how to capture". 

How to remove "pending" from the customer's purchase?

Options
Go to solution
Meaxis
Contributor

(deleted)

Haven't Found your Answer?

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