Sandbox Payment Status always pending why?

nitin-volga
Contributor
Contributor

Hi All,

 

I trying to make test payment on the paypal sandbox but always failing to do so for my NOPCommerce site.

 After completing the transaction I getting the payment status as pending.

 

Below is what I got in the log

PayPal IPN:
mc_gross: 1.00
invoice: 61
protection_eligibility: Ineligible
address_status: confirmed
payer_id: 27NLTRYMW5BUU
address_street: <removed>
payment_date: 23%3A11%3A57+Jan+19%2C+2018+PST
payment_status: Pending
charset: windows-1252
address_zip: <removed>
first_name: Nitin
address_country_code: IN
address_name: <removed>
notify_version: 3.8
custom: cb304ca5-4e85-464f-a0c2-52556cc2b692
payer_status: verified
address_country: <removed>
address_city: <removed>
quantity: 1
verify_sign: AdD.evllf1vyKV3FfB1GVu4-wywWAf8hCYmWnlzuqPGX8urY91D5U9yG
payer_email: <removed>
txn_id: <removed>
payment_type: instant
payer_business_name: <removed>%27s+Test+Store
last_name: <removed>
address_state: MH
receiver_email: <removed>
pending_reason: unilateral
txn_type: web_accept
item_name: Order+Number+61
mc_currency: USD
item_number:
residence_country: IN
test_ipn: 1
transaction_subject:
payment_gross: 1.00
ipn_track_id: 360cf1cc8fc93
New payment status: Pending

 

Can anyone tell me why the Payment status is pending and not paid?

 

Thanks,

<removed>

Login to Me Too
13 REPLIES 13

MTS_Justin
Moderator
Moderator

Hello,

"the payment was successful but my order is pending"

What method are you using to update your backend order status once a PayPal transaction has completed ?

Have you setup payment data transfer (PDT) or instant payment notification (IPN) within the account ?

 

PDT : https://developer.paypal.com/docs/api-basics/notifications/payment-data-transfer/

 

IPN : https://developer.paypal.com/docs/api-basics/notifications/ipn/


Thanks !


Was my post helpful? If so, please give me a kudos!
Login to Me Too

jakelim86
New Community Member

It is located in your sandbox test account !!!!!

 

 

2020-06-28_00h43_46.png

TAKE NOTE!!!!!TAKE NOTE!!!!!

Login to Me Too

Arnisj1
Contributor
Contributor

I was struggling to get it working...

You will get payment_status "Pending" also if your payment is done in different currency from your default in Facilitator account.

To change that, go to Sandbox facilitator account (login to sandbox.paypal.com), got to

Account Settings > Payment Preferences > Block Payments

, click

Update

and select 

Yes, accept and convert them to <your_currecny>. Additional charges apply 

Reference: https://stackoverflow.com/a/9983587/1720476 

Login to Me Too

chen1991
Contributor
Contributor

Haven't Found your Answer?

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