Hi.. I thought the paypal will work well and left the sandbox testing till last minute before go live. My steps: Premium Listing is set to Publish Tested with One Time Payment Package Created and clicked Check Out and Publish Pop up message to say "listing has been successfully submitted". I have NOT pay via paypal. Checked Business Listing in wp-admin. Listing is already inserted as FREE listing type and Published in web site! I can actually cancel the paypal transaction since listing is already created and live! I set Premium Listing to Pending and the above still function the same. So questions: why is Premium Listing created and published before it is paid???? why is it created as FREE and not PAID? why is it published even after I set to Pending? Very frustrating! Hope someone can reply me now.
I installed your theme again on a subdomain. It seemed listing will always be created BEFORE paypal payment is completed, and listing type is always FREE. One difference is Pending does not work on my site.
Hello, Don't worry theme is working normally. Let me explain it's functionality. Theme is implemented in such a way. If someone create a paid listing and cancel payment process in between then listing will be submitted as a free listing. If admin don't want to publish listings automatically then admin can set free listing status to pending.
how about question 2? why is it created as FREE and not PAID? Your code has an issue I think. You are passing FREE for every listing submission.
i have not received any reply. Your codes is NOT working in the way you replied. When paypal payment is cancelled, it is always published. Listing type is always set to FREE because your code works that way. Can I receive some support? Theme is implemented in such a way. If someone create a paid listing and cancel payment process in between then listing will be submitted as a free listing. If admin don't want to publish listings automatically then admin can set free listing status to pending.