cancel
Showing results for 
Search instead for 
Did you mean: 

When Does "Pending Payment" Appear for PayPal Transactions?

When Does "Pending Payment" Appear for PayPal Transactions?

Hi,

 

I am currently reviewing the order state management in Magento 2. According to the official documentation, when processing a PayPal payment intended for seller capture, the order state should be set to pending_payment after initiating the transaction. However, I have observed that the order transitions to processing, even though the corresponding PayPal payment remains pending.

Could someone please clarify at what point the pending payment status is applied to the order in this scenario?

 

For reference:
https://experienceleague.adobe.com/en/docs/commerce-admin/stores-sales/order-management/orders/order...

 

Thank you in advance for your assistance.

1 REPLY 1

Re: When Does "Pending Payment" Appear for PayPal Transactions?

Hello @luisarma9262f6 

 

 

The order transitions to processing in Magento even if the PayPal payment remains pending, likely because PayPal has authorized the payment, and Magento's PayPal integration sets the order state to processing upon authorization.

 

The pending_payment state is typically used for pending payments in Magento, and it’s common for the order state to transition once the authorization is confirmed.


If you need more granular control or want to maintain the pending_payment state longer, you may need to customize the behavior of the PayPal module or adjust payment status handling in your store configuration.

 

​Hope it helps ! 

If you find our reply helpful, please give us kudos.

 

A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

 

WebDesk Solution Support Team

Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789

 

 

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9