=== NotivGo Form Pesanan ===
Contributors: notivgo
Tags: qris, order form, indonesia, qr code
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Standalone order forms with QR codes containing amounts from your own QRIS.

== Description ==

Create an order form without WooCommerce. Buyers select products and receive a QRIS code containing the amount. Money goes directly to the seller's account. The plugin periodically asks NotivGo for the order status and marks an order paid only when the reported amount matches exactly. NotivGo is a tool provider, not a payment processor. Checking bank transactions and the final decision remain the seller's responsibility.

A unique code is always added. Shipping uses a seller-defined list of regions and rates. Stock, coupons, product variations and buyer emails are not supported yet. A quota guard limits new QR codes per hour and per day. Automatic checking uses WP-Cron; low-traffic sites should schedule hosting cron. All assets are local. The interface is in Indonesian.

Automatic matching requires your QRIS saved in the portal, the NotivGo Android app receiving bank/e-wallet notifications with Settings → Payment matching enabled, an active Payment App Package or trial, and the phone online.

== Installation ==

1. Download the zip from https://notivgo.com/form-pesanan.
2. In WordPress, open Plugins → Add New → Upload Plugin, select the zip, then activate it.
3. Open Form Pesanan → Setelan, paste the API key, save, then click Uji sambungan (Test connection).
4. Open Form Pesanan → Produk and enter product names and prices.
5. If using shipping charges, enter regions and rates in Form Pesanan → Setelan.
6. Click Buat halaman Form Pesanan (Create order form page), or paste [notivgo_form_pesanan] into any page.
7. Open that page and place a test order yourself until its status becomes Lunas (Paid).

The API key field is always empty. Saving an empty field keeps the previous key. Only its last four characters are displayed.

== Frequently Asked Questions ==

= Do I need WooCommerce? =
No. This plugin is standalone.

= Can I use Elementor? =
Yes, through the Shortcode widget.

= Can buyers pay using the same phone? =
Tap Simpan gambar QR (Save QR image), then select the image from the gallery in the bank or e-wallet app.

= Why does the total increase by a few rupiah? =
The unique code distinguishes two buyers with the same order total.

= I paid but the order is not marked paid. What should I do? =
Ensure the phone running NotivGo is online. Open Form Pesanan → Pesanan and click Periksa sekarang (Check now). If the money is visible in bank transactions, the order can be marked paid manually.

= Where is buyer data stored? =
In the seller's WordPress site. The plugin does not send buyer names, WhatsApp numbers or addresses to NotivGo.

= What does it cost? =
The plugin is free. Usage follows the NotivGo plan: https://notivgo.com/pricing.

== External services ==

The plugin connects to the NotivGo service at https://portal.notivgo.com using the saved API key. When creating a QR code it sends a random order_ref, amount, currency (IDR), expires_in and note ("Form Pesanan #number"), with format=png and create_order=true as request controls. It reads open order amounts before allocating a new amount. It queries statuses when buyers view an order, when the seller checks orders, and during WP-Cron runs; cancellation sends the order reference. Testing the connection requests the order list. No buyer names, WhatsApp numbers, addresses, notes or product details are sent.

Service information: https://notivgo.com
Terms of service: https://notivgo.com/tos
Privacy policy: https://notivgo.com/kebijakan-privasi

Schedules are cleared on uninstall. Orders and plugin options are retained unless Hapus semua data pesanan saat plugin dihapus (Delete all order data on uninstall) is enabled.

== Changelog ==

= 0.1.0 =
* Initial release with standalone order forms, QRIS amounts, background checking and seller administration.
