YS CART – SmilePay Fast Purchase Electronic Invoice
Electronic invoices are automatically issued upon order confirmation, handling carriers, donations, and cancellations all at once.
On the e-commerce platforms in Taiwan, an electronic invoice must be issued for every order. This extension integrates SmilePay's electronic invoicing service into YS CART. After an order is placed, it automatically issues invoices, updates their status, and handles cancellations and reissuance. All of this is done within the backend, eliminating the need to manually process orders in the SmilePay backend.
Auto-issuance, rules set by yourself
You can set timings such as "automatically issue invoices when orders are processed" or have completely manual control. The checkout page offers individual/corporate invoice options and supports mobile barcode carriers, natural person certificates, and charitable donations. If the YS CART core has site-wide invoice rules set, those rules will take precedence, ensuring no conflicts with multiple vendors.
Test Mode with Full Logs
Provide a test mode (connecting to the quick purchase test endpoint, no real invoices generated) for full practice of issuance and voiding processes before going live. All API interactions are logged for easy troubleshooting. Invoice details and statuses are managed centrally in the YS CART invoice list.
Features
Automatic opening timing
Automatically open based on order status (e.g., changed to processing), or switch to fully manual.
Individual/Company Invoice
On the checkout page, select the invoice type. Company invoices support uniform invoice numbers and company names.
Vehicles and Donations
Mobile barcode, personal certificate carrier, and love code donations are all supported.
Cancellation management
The backend will directly void the invoice and reissue it, with the status immediately written back.
Test mode
End-to-end practice for connecting Speed Buy's test endpoint, without generating real invoices.
Invoice List and Log
Invoice details are centrally managed, and API transaction logs are complete and traceable.
Screenshots
Changelog (Latest)
Fix
remove vendored YS Plugin Hub Client Invalid WooCommerce HPOS compatibility declaration inside.
Problem
This declaration calls `FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__ )` with its own vendor file path,
but `vendor/yangsheep/ys-plugin-hub-client/ys-plugin-plugin-hub-client.php` is not a registered plugin main file,
WooCommerce `FeaturesController` therefore inEach request Record one:
```
FeaturesController: Invalid plugin file '.../vendor/yangsheep/ys-plugin-hub-client/ys-plugin-hub-client.php' for feature 'custom_order_tables'.
```
Noise washes away the `plugin-woocommerce` log channel, buries the real error messages, and causes extra disk I/O.
Scope of impact
Does not affect the transaction, order, or payment process.
Amend the law
The declaration is invalid because it points to a non-registered file.Never took effectremove zero-change behavior - no plugins will become "incompatible with HPOS" because of this;
HPOS compatibility should be declared by each plugin itself.
- vendor loader diff: `+0/-13` (this declaration block only; activation hook/autoloader/schema fallback/`ys_hub_client_loaded` all retained)
- bundled Hub Client versionDeliberately maintain `2.0.2`Only remove dead code, without introducing subsequent version's center naming and menu normalization behaviors
packaging
- `ys-cart-smilepay-einvoice-1.0.7.zip` (59 entries)
- EC1DA9B9B6948B74AC985BCC32B39E7FDA9F3AE65AB6C27477436F098D5C818A
FAQ
What account is needed?
To apply for the electronic invoice service with Sugoi Buy, please fill in the settings page with your invoice account (Grvc) and verification code after obtaining them. You can first practice in test mode using the official trial account.
When will the invoice be issued?
Automatically issue at the timing you set (e.g., when an order status changes to "Processing"), and you can also issue it manually on the order page.
Can it be voided if it's opened incorrectly?
Yes, it can. The backend can void it with one click and reopen it, with the status and number fully recorded.
Will it conflict with other invoice suppliers?
No. YS CART is uniformly managed under the "invoice vendor" framework, and even if multiple vendors are installed, invoices will only be issued by the enabled rules.
