=== IssueBadge - Bulk Certificate Generator ===
Contributors: issuebadge
Donate link: https://issuebadge.com
Tags: bulk certificate, Custom certification certificates, qr code verification, credentials, digital certificates, api
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate and issue digital certificates and badges using the IssueBadge API directly from your WordPress admin panel.

== Description ==

IssueBadge - Bulk Certificate Generator is a WordPress plugin that integrates with the IssueBadge API to allow you to generate and issue digital certificates and badges directly from your WordPress admin panel.

= Key Features =

* Easy API integration with Bearer token authentication
* Fetch available badge templates from your IssueBadge account
* Issue badges to recipients with name (required) and email (optional)
* Clean and intuitive admin interface
* Secure implementation with proper nonce verification
* Full internationalization support

= How It Works =

1. Install and activate the plugin
2. Configure your IssueBadge API Bearer token in the API Settings
3. Navigate to the Send Badge page
4. Select a badge template from your available badges
5. Enter recipient details (name required, email optional)
6. Issue the badge and receive the unique certificate URL

== Installation ==

1. Upload the `issuebadge` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Navigate to IssueBadge > API Settings to configure your Bearer token
4. Start issuing badges from IssueBadge > Send Badge

= Manual Installation =

1. Download the plugin zip file
2. Login to your WordPress admin panel
3. Navigate to Plugins > Add New > Upload Plugin
4. Choose the downloaded zip file and click Install Now
5. Activate the plugin after installation

== Frequently Asked Questions ==

= Where do I get the API Bearer token? =

You can obtain your API Bearer token from your IssueBadge account dashboard at https://app.issuebadge.com

= Is the recipient email required? =

No, the email is optional. Only the recipient name is required to issue a badge.

= Can I issue multiple badges at once? =

Currently, the plugin supports issuing one badge at a time. Bulk functionality may be added in future updates.

= What happens after a badge is issued? =

After successful badge issuance, you'll receive an Issue ID and a public URL that can be shared with the recipient.

= Is the plugin secure? =

Yes, the plugin implements WordPress security best practices including nonce verification, capability checks, and proper data sanitization.

== Screenshots ==

1. API Settings page - Configure your Bearer token
2. Send Badge page - Issue certificates to recipients
3. Success message - Badge issued with public URL

== Changelog ==

= 1.0.0 =
* Initial release
* API integration with IssueBadge
* Badge fetching and issuance functionality
* Admin interface for API settings and badge sending
* Full security implementation with nonce verification
* Internationalization support

== Upgrade Notice ==

= 1.0.0 =
Initial release of the IssueBadge WordPress plugin.

== Privacy Policy ==

This plugin connects to the IssueBadge API (https://app.issuebadge.com) to fetch badge templates and issue certificates. The following data is sent to the API:

* API Bearer token (for authentication)
* Recipient name
* Recipient email (if provided)
* Badge template ID

No data is stored locally except for the API Bearer token, which is stored securely in the WordPress database.

For more information about how IssueBadge handles data, please refer to the IssueBadge privacy policy at https://issuebadge.com/privacy

== Support ==

For support, please visit https://issuebadge.com/support or contact support@issuebadge.com

== External Services ==

This plugin relies on the IssueBadge API service:

* Service URL: https://app.issuebadge.com/api/v1
* Terms of Service: https://issuebadge.com/terms
* Privacy Policy: https://issuebadge.com/privacy

The plugin makes API calls to:
* GET /badge/getall - Fetch available badge templates
* POST /issue/create - Create and issue a new badge

These calls are made only when explicitly triggered by admin users through the plugin interface.