Identity verification allow vendors only attach one times

Hello HivePress Team!

I’ve implemented a vendor attribute allowing vendors to attach their ID cards for identity verification. On my website, vendor accounts can only be verified after this step. My question is: Are there any specific code snippets that I can use to ensure vendors can only edit this information once? What I mean by that is I want hosts to attach their ID cards only once. I don’t want this section to be editable for them after they attach their id cards. It would be great if, instead of an attachment, there could be a status like ‘verified’ or ‘in progress.’ However, making it uneditable after the initial submission would be enough.

Have a lovely day!

Sorry for the delay. Unfortunately there’s no moderated attributes feature for vendors yet, it’s available for listings only. It may be possible to do this via the custom implementation, please let me know if you’re familiar with coding or have a developer for custom work, I can provide some guidance.

Hello Ihor!

It would be great if you can provide some guidance.

Sorry for the delay. Unfortunately there’s no simple code snippet for this, but there may be a workaround. For example, you can use the attachment field and check it while you approve the first listing of a vendor (this way approving the vendor profile at the same time). You can download the attached file and store it somewhere securely, and mark vendor as Verified (this option is not editable via the front-end profile form so vendors can’t change it). Then you can remove the attached file (storing IDs in the WordPress media library may not be fully secure depending on third-party plugins and customizations), and you can allow vendors to upload or remove the attached files since this field may be useless after the verification process.

Hope this helps.

Hi Ihor,

I encountered the same problem but in my case I would like vendors to upload two images of their id card.

Would it be possible to do that?

Regarding the customisation, can you please provide me with some hints about how should be done’?

I’m also trying To add Tax ID number field and ID card number. I suppose this should already be integrated in the form as we are registering hosts and we are supposed to make money transactions especially in the case of B2B. Do you think it will be added in the near future?

Looking forward to hear from you soon,

Regards // laura

If 2 files (images) are required then currently the only way is adding 2 separate Attachment attributes (we plan to add support for multiple files per attribute), or asking vendors to compress images into a single ZIP file and upload it (this way more images of docs may be uploaded if needed).

There are different countries with various tax requirements and other details so there are no built-in tax-related fields. Please try adding custom attributes for this purpose, you can set different validation rules and formats for these attributes to require specific details from vendors before they start selling. Also, depending on the payments you accept and the chosen payout method you can set up payment gateways in WooCommerce and add payout options for vendors.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.