[DBTech] DragonByte eCommerce

[DBTech] DragonByte eCommerce 5.4.2

No permission to buy (€29.95)

Update highlights​

This version gives the API portion a bit of a tune-up, fixing issues with its documentation being out of date as well as a few bugs. Some of these changes also affect Webhooks, so if you use either Webhooks or the API, please check the full change log for more information.

If you do not use either, it is safe to skip this release as it contains no changes that would affect the normal operation of DragonByte eCommerce.


Complete Change Log​

Change: Order prices in webhooks and API results are now numbers instead of strings
Change: Listing licenses or purchased products via the API with none to show now returns an empty list instead of an error
Change: Download refusals via the API now answer HTTP 403 instead of 402
Change: Listing a product's downloads via the API with no matching versions now returns an empty list instead of an error
Change: With the API disabled, endpoints now answer endpoint_not_found instead of a generic not-found error
Fix: Creating a download via the API now respects the provided release date
Fix: Product filters and download version fields can now be set when editing a product via the API
Fix: Leaving or deleting an author reply to a review via the API now returns the review in the documented format
Fix: Order webhooks and API results now include the order's items
Fix: Order webhooks and API results now include the customer's username
Fix: Pending orders in webhooks and API results now show their current prices instead of zero
Fix: Listing a category's products via the API now respects pagination
Fix: Fetching the latest version via the API for a product with no versions no longer causes a server error
Fix: Corrected numerous mistakes in the API documentation

Update highlights​

This version fixes a regression introduced in v5.4.0 due to the changes to Download attachment handling.


Complete Change Log​

Fix: The Latest Activity page no longer fails with an unknown getter error when it includes a new download

Update highlights​

Thanks to recent scientific advancements in the field of subspace quantum strings, things previously thought impossible turned out to actually be possible. In other words; it is actually possible to have attachments for individual editor fields, so all product and download editor fields can now have attachments. This includes inline images!

Attachments added to downloads (for digital product updates) or products (for initial release threads) will be copied over to the news thread as well.

It is also now possible to preview the contents of all editor fields across products and downloads.


Complete Change Log​

Feature: Full product description, product specifications and copyright information now have their own attachments that can be inserted into their editors, including via the API
Feature: Download change logs and release notes now have their own attachments that can be inserted into their editors, including via the API
Feature: Automated product and release thread posts now include the attachments from the product description, specifications, change log and release notes
Feature: Product description, specifications, copyright information, download change log, release notes and commission payment note editors can now be previewed
Change: API download responses now include change_log_attach_count and release_notes_attach_count, with attach_count now being the total of both
Change: Download attachment keys in the API now check the product's attachment upload permission instead of the category's
Fix: Editing a product or download via the API without an attachment key no longer causes an error

Update highlights​

This version fixes an issue with the DragonByte Tickets integration, where a server error could be logged if the configured ticket support forum did not have an associated eCommerce product.


Complete Change Log​

Fix: Fix a PHP warning when DragonByte Tickets actions run on threads in forums without a product

Update highlights​

This version fixes an issue where setting "full address" to always be required would not produce address fields flagged as "business" fields.


Complete Change Log​

Fix: Show all full address fields when creating an address during checkout

Update highlights​

After a successful Beta period, v5.3 is now ready for wider release. As you can see by the changelog, a significant amount of fixes have been incorporated into this release. There is one new feature; the filtering feature on the Downloads list in the AdminCP can now accept download version numbers. Particularly useful if you need to recall information about older versions that may not show up when just filtering on the product name.

None of the resolved issues should negatively impact functionality, the vast majority of them simply address race conditions that required a highly specific set of circumstances to trigger. There are a couple of minor fixes for the DragonByte Tickets integration, as well as a fix for Stripe Itemised Checkout which only affected you if you asked Stripe to handle sales tax rather than letting eCommerce handle it.

PS: If you are using Xero Invoice Sync by @Xon please upgrade to v2.8.3 to maintain compatibility, as v5.3 changed address fields from being hardcoded to being customisable via the "Address fields" system.


Complete Change Log​

Feature: Ability to filter on download version in the AdminCP
Fix: Ensure sort order/link filtering is carried over when navigating various AdminCP pages
Fix: Fix regression from v5.2 affecting generated downloads
Fix: Check the correct admin permission when deleting a category via the API
Fix: Disallow transferring All-Access Pass licenses even if license transfer is enabled
Fix: Disallow license transfer if the license isn't valid
Fix: Correctly delete shipping label when deleting an order
Fix: Fix incorrect step order in the v4.1.0 upgrade path
Fix: Fix typo in the Product API leading to a server error when sorting
Fix: Don't include licenses from deleted users in expiry reminders
Fix: Serial keys with low entropy no longer trigger an infinite loop
Fix: Prevent race condition with serial key generation
Fix: License Extend job now has improved guard rails
Fix: Fix potential server errors in v5.2 upgrade steps
Fix: Remove an invalid coupon more reliably
Fix: Fix currency rounding errors due to floating point precision
Fix: Fix currency rounding for currencies that use a precision other than 2
Fix: Ensure no Order Total values can go below 0.00
Fix: Handle encryption failure more gracefully
Fix: Store the correct value in the OrderItem entity for automatic discounts
Fix: Fix an issue where store credit could be removed twice
Fix: Fix race condition with product view counter
Fix: Fix calculations for discount totals
Fix: Ensure '%' is escaped when filtering products
Fix: Delete temporary product features on product deletion
Fix: Fix sales tax rate calculation for Classifieds business profiles
Fix: Improve the randomness in Serial Key generation
Fix: Prevent automatic coupons from being guessable
Fix: Store credit is now refunded when the order is reversed
Fix: Avoid a race condition where more store credit than what's available could be spent
Fix: Avoid a race condition where a coupon's usage limits were not respected
Fix: Itemised Stripe checkout is now disabled when sales tax isn't included
Fix: Shipping cost information is now also saved per-item
Fix: Fallback to an empty array in case of problems with the license macro
Fix: Fix server error when editing a DragonByte Tickets ticket in certain circumstances

Update highlights​

Continuing the work of Beta 1, this version reworks another significant part; The "Address line 1" through 4 and "Business c/o" fields have been converted into "Address fields". This uses the standard XenForo "custom fields" feature, so you are free to add and remove (or easily change the title of) these fields as fits your needs.

Fields created under the "Business" display group will only be shown if the user indicates the address is a business address. "General" fields are shown regardless. This even works with the "Field is required" flag, so it's perfectly safe to flag Business fields as required! You can see this in action @ dragonbyte-tech.com :)

The second feature is not exactly the biggest, but it was requested; you can now optionally choose a style that will be enforced across all eCommerce pages.

There's also a minor fix for staff members viewing users' licenses; All-Access Pass licenses are no longer reading your AAP status. They now correctly read the license holder's AAP status.

There's other minor fixes and internal changes, see the full changelog for details.


Complete Change Log​

Feature: Address book and business profile address lines (previously fixed at Address line 1-4) and "Business c/o" are now Address custom fields
Feature: Optionally override style on all eCommerce pages
Change: xf_dbtech_ecommerce_license.license_key is now indexed
Fix: Clean up thread types/forum types on uninstall
Fix: Fix API type config results for Tickets
Fix: Fix "has required user groups" check for Licenses
This add-on has been hotfixed to address an issue affecting all front-end pages while this add-on is enabled. This issue was caused by additional security measures introduced in XenForo 2.3.13.

The latest version has been patched, and can be downloaded at no additional cost. If you are running an older version and you are unable to upgrade for whatever reason, please let me know the exact version you are running and I will apply the hotfix accordingly.

Note: Both the latest Beta version and the latest Stable version of this add-on has been hotfixed.

Update highlights​

This version is a rework that mostly is invisible for end-users, with the exception of User Upgrade products no longer being flagged as free. This update is a companion update to DragonByte Tickets v4.

In order to support DragonByte Tickets no longer depending on DragonByte eCommerce, parts of the functionality covered by Tickets has now been taken over by eCommerce.
  • eCommerce Suggestions (A.K.A. product suggestions) is now handled by this addon, and existing nodes will be seamlessly handled by eCommerce going forward after installing this update.
  • All code dealing with displaying product/license information in a ticket has been moved to eCommerce and injected via template modifications.

If you previously ran both add-ons, I would strongly recommend you upgrade both at the same time to avoid any potential issues.


Complete Change Log​

Feature: Product Suggestions forum type
Change: Internal changes to support Tickets v4
Fix: Fix developer docs for code events
Fix: Guest checkout would display a "Please enter a valid email." regardless of user input
Fix: User Upgrade products are no longer mistakenly flagged as "Free" in the front-end filter

Update highlights​

This version fixes an issue where it was not possible to save a product that uses User Upgrades, and adds additional protection for All-Access Pass downloads.


Complete Change Log​

Fix: Fix server error when saving a new User Upgrade product
Fix: Ensure expired all-access licenses can't be downloaded
  • Like
Reactions: Bram
Back
Top Bottom