nanodesigns / nanosupport

Create a fully featured Support Center in your WordPress setup without any third party dependency, completely FREE. Get a built-in Knowledgebase too. The plugin is available on WordPress.org repository:
https://wordpress.org/plugins/nanosupport/
GNU General Public License v2.0
50 stars 13 forks source link

Validating the Receipt on Ticket Submission #63

Closed mauamolat closed 5 years ago

mauamolat commented 5 years ago

Hi, Nano Designs!

Support Ticket Page doesn't verify or validate the purchase receipt number as per product.

Here are the screenshots: http://prntscr.com/kuxl9e (Successful submission) http://prntscr.com/kuxj6t (Setting of Product Receipt)

I expect that it should verify the receipt as per integrated on the e-commerce solution plugin (if available) then it will continue to let the support seeker submit the ticket issue.

Basically, I would like the support system to validate the purchase receipt as per product prior to continuing to the action of submitting the ticket on the submit ticket page. The problem is that when I tried to input a random number or character on the purchase receipt, it still proceed to submit the ticket. How can we restrict users to submit an issue that is not validated as per product receipt?

System Status

WordPress version: 4.9.8; NanoSupport version: 0.5.0; E-Commerce?: Enabled; Active Theme: Themedd - Child Theme - 1.0.0; — Parent Theme: Themedd - 1.0.6; Debug mode: Off; Multisite?: No; Site Language: en_US; Server: Apache; PHP Memory Limit: 512 MB; PHP version: 7.2.9; MySQL version: 5.6.41.

...

Active Plugins (11): CF7 Mautic Extention (0.0.5) - by hideokamoto; Contact Form 7 (5.0.4) - by Takayuki Miyoshi; Cookie Notice (1.2.44) - by dFactory; Easy Digital Downloads (2.9.7) - by Easy Digital Downloads; Easy Digital Downloads - Downloads As Services (1.0.6) - by Easy Digital Downloads; Easy Digital Downloads - External Products (1.1.0) - by Daniel J Griffiths; Featured Image From URL (1.9.5) - by Marcel Jacques Machado; Gutenberg (3.8.0) - by Gutenberg Team; NanoSupport (0.5.0) - by nanodesigns; Regenerate Thumbnails (3.0.2) - by Alex Mills (Viper007Bond); WordPress Importer (0.6.4) - by wordpressdotorg.

mayeenulislam commented 5 years ago

Hello @mauwiks. Thanks for notifying the issue.

Validating the receipt was not actually planned. If the receipt if invalid, the link to the receipt won't appear in Admin Panel. So, you now know that, the ticket is about an invalid purchase.

But validation is a good feature that we missed for sure. Let's take it to the roadmap of v0.5.1, inshALLAH.

mauamolat commented 5 years ago

Thanks! Will count on that.

Another thing. If it is not validated, is there a functionality to not prioritize the ticket?

mauamolat commented 5 years ago

I would also like to edit the Product text into services. Is it possible?

mayeenulislam commented 5 years ago

Can we please discuss different issue on different thread? It will help our future reference.

mayeenulislam commented 5 years ago

@mauwiks What does the word "Validate" mean here? Checking whether the Receipt id exists in the database, or not - right?

mauamolat commented 5 years ago

Hi, @mayeenulislam.

Yes. And if not validated, we can have a setting to restrict a guest (support seeker) on submitting a ticket. This is mostly the case that a premium support (paid service) would want as a functionality, but if there is a possible solution to categorize a submitted ticket into a "low priority" (ticket status) when there is no valid receipt were submitted, I'll appreciate if you can give me some link or idea for this solution.

mayeenulislam commented 5 years ago

Thanks a lot. Loved the idea or prioritizing, based on the validation. Will reach you with a solid plan, inshALLAH, soon.

mauamolat commented 5 years ago

Thanks. Looking forward to it.

mauamolat commented 5 years ago

Hi, Awesome @mayeenulislam. Could you enlighten me how can I implement the new resolved update?

mayeenulislam commented 5 years ago

Will be available with v0.5.1 inshALLAH soon

mauamolat commented 5 years ago

Exciting...