wonton Posted September 10, 2006 Share Posted September 10, 2006 On my site, I accept credit cards and paypal payments. 99.9% of the time, credit card payments go through, so I dont worry about those. Those orders go right to Pending state when received. For PayPal payments, I always have two concerns 1) if a payment was sent using eCheck, I dont want employees processing them until eCheck is cleared 2) if a payment was received, was it the right amount? Therefore, I always want to validate paypal payments first. I want all paypal orders redirected to a PayPal state that I've created. Once validated, I move them from PayPal state to Pending State, and for the employees, its business as usual. To make this fix: $order_status_id = DEFAULT_ORDERS_STATUS_ID; change to: $order_status_id = <your desired state id>; In my case, PayPal state was orderstate 5, so I used: $order_status_id = 5; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.