Tags give the ability to mark specific points in history as being important
  • 0.6.3

    Downloads

    Changelog

    • NEW Added three new ShopSidebarModule types: RECENT_PURCHASE, TOP_PURCHASER, and MOST_POPULAR
  • 0.6.2

    Downloads

    Changelog

    • NEW Added method getSlug() to the ShopPage object, which returns the page's vanity URL (if applicable).
    • CHANGE CubedPayShopAPI.createPage() and CubedPayShopAPI.updatePage() now require an additional parameter for the page's vanity URL.
  • 0.6.1
    dfb45273 · ShopPage fixes ·

    Downloads

    Changelog

    • CHANGE ShopPages will now be loaded properly. The getMeta() method will now return a String instead of ShopPage.Meta.
    • CHANGE The CubedPayShopAPI.createShopPage() and CubedPayShopAPI.updateShopPage() now require a String in their meta fields.
  • 0.6

    Downloads:


    CubedPay-Java v0.6 Changelog:

    • NEW Added ShopPackageCondition for conditional products.
    • NEW Added methods to view and manage package conditions:
      • CubedPayShopAPI.createShopPackageCondition() - Adds a condition to a package
      • CubedPayShopAPI.deleteShopPackageCondition() - Removes a condition from a package
      • CubedPayShopAPI.updateShopPackageCondition() - Updates a package's pre-existing condition
      • CubedPayShopAPI.getShopPackageConditions() - Returns a list of conditions on a package
    • NEW Added TopPurchaser, RecentPurchase, and PopularPackage objects to neatly store data returned by the new statistics widgets.
    • NEW Added methods to view shop statistics (Note - Their corresponding sidebar modules MUST be present in order to use these):
      • CubedPayShopAPI.getTopPurchasers() - Returns a list of the shop's highest-paying users
      • CubedPayShopAPI.getRecentPurchases() - Returns a list of the shop's most recent purchases
      • CubedPayShopAPI.getMostPopularPackages() - Returns a list of the shop's most popular items
    • NEW Added ShopPage Meta to enable the use of external page linking and sub-pages.
    • NEW Added the ShopMedia object to retrieve information about the shop assets a Shop or PublicShop is using.
    • NEW Added methods to view and manage shop media:
      • CubedPayShopAPI.deleteShopMedia() - Removes an asset from a shop
      • CubedPayShopAPI.getShopMedia() - Returns the shop asset with the provided ID
      • CubedPayShopAPI.listShopMedia() - Returns a cursor of a shop's assets
    • NEW Added the ShopTemplateMeta object to retrieve information about the template a Shop or PublicShop is using.
    • NEW Added the getIcon() method to the ShopPage object to get the name of a page's icon (if applicable).
    • CHANGE ShopPage Meta is now a required field for the CubedPayShopAPI.createPage() and CubedPayShopAPI.updatePage() methods.
  • 0.5
    2e2078ed · Version 0.5 Update ·
    • NEW Added ShopColors object that can be accessed from either the Shop or PublicShop objects. This contains information about our recently-added custom color schemes.
    • NEW Added methods in CubedPayShopAPI for ShopColors: getShopColors, setShopColors, createShopColors, and updateShopColors.
    • NEW Added getCustomUrl() to the Shop and PublicShop objects, which returns a shop's custom domain if they have one. NOTE: The getUrl() method still returns the shop's subdomain of CubedPay.
    • NEW Added missing methods to the Shop & PublicShop objects.
    • NEW Added support for TEXT SidebarModule types.
    • NEW Added support for SMART ShopPage types.
    • NEW Added getAvatar() to the User object, which returns an UploadedImage of the user's profile picture.
    • FIX The isDefault() method in the ShopTheme object should now work as intended.

    EDIT: Fixed error caused by ShopColors.

  • 0.4.6
    • CHANGE We now have an official plugin for BungeeCord that allows for easy integration of the CubedPay API into your BungeeCord plugins!
    • CHANGE Added comments to the Minecraft: Java Edition plugin configurations.
    • CHANGE Added the Currency object that can currently be used to determine a Shop's currency with the newly-added getCurrency() method.
    • FIX ShopPackageRefs will now be returned properly from Shop API calls.
    • FIX getShopPackage() in ShopPackageRef now returns the ShopPackageRef's ID.

    You can download the new BungeeCord plugin above!

  • 0.4.5
    08ee5882 · Version bump ·
    • CHANGE Add executeTransaction() to the shop api.
    • FIX Change id to package in Item. This fixes item creation for transactions. Deprecated getId() and added getPackage() in Item to reflect these changes.

    You can download the new bukkit/sponge version of the plugin above!

  • 0.4.4
    cb5bd94b · Version bump ·
    • CHANGE Add getProfile() to Transaction

    You can download the new bukkit/sponge version of the plugin above!

  • 0.4.3
  • 0.4.2
    a2972bea · another one *dab* ·

    This is a hotfixed version of v0.4/v0.4.1 and includes all of the v0.4 changes below:

    • FIX Fix field names on ShopPackage class
    • FIX Fix field name in a few classes due to java keyword conflicts,

    v0.4 Release Notes: This is a major refactor to the library in terms of API usage and object fields, please take care when update that you are using the correct objects and methods. If you need any assistance when updating please don't hesitate to contact us.

    • MAJOR The CubedPayAPI interface is now an object that be instantiated with regular java methods. As part of this, all actual API methods have moved into a subclass based on the context of the data that you are accessing. User data is in CubedPayUserAPI and shop data in CubedPayShopAPI. You can get both of these from the CubedPayAPI instance that you create.
    • MAJOR All missing API methods have now been added as well as old ones remove (this includes methods that used to be public but have been re-scoped internally).
    • MAJOR Everything related to orders has been moved to transactions. The event has also been updated to reflect this: PurchasedEvent -> TransactionCompletedEvent
    • CHANGE The event listener annotation has changed from @PaymentHandler to @CubedPayEventHandler
    • CHANGE Added 2 new events: SupportTicketOpened, SupportTicketNewReply
    • CHANGE Event feed now logs when running to System.out. This will be more configurable in the future.
    • CHANGE You can now remove event listeners by using the CubedPayAPI#removeListener(Object) method.
    • FIX You can now use static event listeners.
    • FIX Bukkit plugin now has correct version stored within it.

    You can download the new bukkit version of the plugin above!

  • 0.4.1
    8a4ec06c · Bump version ·

    This is a hotfixed version of v0.4 and includes all of the v0.4 changes below:

    • FIX Fix field names on ShopPackage class

    v0.4 Release Notes: This is a major refactor to the library in terms of API usage and object fields, please take care when update that you are using the correct objects and methods. If you need any assistance when updating please don't hesitate to contact us.

    • MAJOR The CubedPayAPI interface is now an object that be instantiated with regular java methods. As part of this, all actual API methods have moved into a subclass based on the context of the data that you are accessing. User data is in CubedPayUserAPI and shop data in CubedPayShopAPI. You can get both of these from the CubedPayAPI instance that you create.
    • MAJOR All missing API methods have now been added as well as old ones remove (this includes methods that used to be public but have been re-scoped internally).
    • MAJOR Everything related to orders has been moved to transactions. The event has also been updated to reflect this: PurchasedEvent -> TransactionCompletedEvent
    • CHANGE The event listener annotation has changed from @PaymentHandler to @CubedPayEventHandler
    • CHANGE Added 2 new events: SupportTicketOpened, SupportTicketNewReply
    • CHANGE Event feed now logs when running to System.out. This will be more configurable in the future.
    • CHANGE You can now remove event listeners by using the CubedPayAPI#removeListener(Object) method.
    • FIX You can now use static event listeners.
    • FIX Bukkit plugin now has correct version stored within it.

    You can download the new bukkit version of the plugin above!

  • 0.4

    This is a major refactor to the library in terms of API usage and object fields, please take care when update that you are using the correct objects and methods. If you need any assistance when updating please don't hesitate to contact us.

    • MAJOR The CubedPayAPI interface is now an object that be instantiated with regular java methods. As part of this, all actual API methods have moved into a subclass based on the context of the data that you are accessing. User data is in CubedPayUserAPI and shop data in CubedPayShopAPI. You can get both of these from the CubedPayAPI instance that you create.
    • MAJOR All missing API methods have now been added as well as old ones remove (this includes methods that used to be public but have been re-scoped internally).
    • MAJOR Everything related to orders has been moved to transactions. The event has also been updated to reflect this: PurchasedEvent -> TransactionCompletedEvent
    • CHANGE The event listener annotation has changed from @PaymentHandler to @CubedPayEventHandler
    • CHANGE Added 2 new events: SupportTicketOpened, SupportTicketNewReply
    • CHANGE Event feed now logs when running to System.out. This will be more configurable in the future.
    • CHANGE You can now remove event listeners by using the CubedPayAPI#removeListener(Object) method.
    • FIX You can now use static event listeners.
    • FIX Bukkit plugin now has correct version stored within it.

    You can download the new bukkit version of the plugin above!

  • 0.3.2
    f8ca7b6e · 0.3.2 released ·
    • MAJOR: Updated the maven poms to reflect the correct versioning. You will now see 0.3.2+ from now on in private beta.
    • CHANGE: Cursor object getCurrentPage() and getPerPage() now returns a string.
    • CHANGE: Added Orders object for getRecentOrders().
    • CHANGE: getRecentOrders() add to the api returns the most recent orders for a specified shop.
    • CHANGE: getShops() added to the plugin to get the shops you specified in the config.
    • FIX: The event runnable should now continue on its job if a exception is thrown.

    You can download the new bukkit version of the plugin above!

  • 0.3.1
    06f53211 · Version bump to 1.0.2 ·
    • CHANGE: Order object getTransaction() now returns a transaction object. This object contains a lot of data like if a user refunded. And now includes the the payment object too!
    • CHANGE: Added getIcon() and getDescription() to the Item object. getQuantity() returns a integer instead of a int.

    You can download the new bukkit version of the plugin above!

  • 0.3
    18885896 · Version bump 1.0.1 ·
    • CHANGE: OAuth endpoints and methods changed to reflect the api changes. getAccessToken() changed to exchangeOAuthForToken(). refreshOAuth() now takes a refresh token. getAccessToken() removed.
    • CHANGE: LoginUser now contains getExpiresIn(). getStatus() is now a int. getGrantedScopes() changed to getScopes() and returns a map.
    • CHANGE: getShops() now returns a Shops class.
    • CHANGE: Transformer now has a easy way to access the response body value for debuging.

    You can download the new bukkit version of the plugin above!

  • 0.2
    0f8f9ac4 · Couple more class tweaks ·
    • NEW: Store logo is now retrievable for usage in remote applications from any shop instance. getLogo()
    • NEW: Ability to retrieve the current shop from an Order object. getShop()
    • NEW: Payments now hold the profile that the customer selected to use at checkout. getProfile()
    • CHANGE: amount within a Payment is now an double, as opposed to a String. This value will represent the total order value in cents.
    • NEW: Ability to get the default game for a store. Just call getGame() from any shop instance.
    • CHANGE: Gateways are now represented by a Gateway object, instead of a String.
    • NEW: Processed items must now be marked as processed from our PurchasedEvent using setProcessed(boolean).

    You can download the new bukkit version of the plugin above!

  • 0.1

    This is the first release of our Java library which coincides with the launch of the private beta of the panel and API.

    Please try out the library and let us know if you find any issues or have any feed back in the private beta discord.