Skip to content

Releases: MrVeit/Veittech-UnigramPayment

UNIGRAM PAYMENT 1.0.8

29 Jul 07:07
51b2016

Choose a tag to compare

NEW FEATURES:

  • Added support for version Unity 6.1 and higher when processing data via native API - thanks @y0av

UNIGRAM PAYMENT 1.0.7

24 Apr 08:34
475a816

Choose a tag to compare

NEW FEATURES:

  • Added function PayInvoice(SaleableItem item) to create invoice link and instantly open payment window,
  • Added function FetchTimeTick() to get current server time tick (in UTC time zone),
  • Added ErrorTypes enumeration, through which you can get the specific error that caused the failure of creation of invoice/payment/refund,
  • Added OnPurchaseHistoryLoadFailed and OnRefundHistoryLoadFailed events to get the result of a failed attempt to load transaction history,
  • Added additional events for the create/pay/refund invoice functionality with a specific reason for failed execution.

REFACTORING

  • Set an automatic delay of 15 seconds, if it was not specified in SDK settings, to avoid spam requests to Telegram Bot API,
  • Improved detection of the current Telegram platform, based on the presence of initData about the account.

BUG FIXES:

  • Fixed a bug related to incorrectly calculating the current number of failed requests for a successful payment check.

UNIGRAM PAYMENT 1.0.5

14 Feb 08:42
5570838

Choose a tag to compare

NEW FEATURES:

  • Added additional error handling to prevent shopping logic from executing when authorization fails on the backend

BUG FIXES:

  • Fixed a bug related to the inability to get the current payment/cancellation status of an invoice on Unity 2023 and above.

UNIGRAM PAYMENT 1.0.4

28 Jan 06:32
b796e10

Choose a tag to compare

NEW FEATURES:

  • Added support for version Unity 2023 and higher when processing data via native API.

BUG FIXES:

  • Fixed a bug that could unsuccessfully download telegram user data from init date, when there was no data in some profile fields.

UNIGRAM PAYMENT 1.0.3

16 Oct 13:58
2c3561b

Choose a tag to compare

NEW FEATURES:

  • Added editor option Receive Payment Check Delay to add a delay when a payment check request is sent,
  • Added editor option Resend Attempts Amount to send repeat requests when last attempt failed (used only for receiving payment checks, number of methods from SDK will be increased in the future).

BUG FIXES:

  • Fixed a rare bug related to the Target transaction not found error on the backend, where when buying items in bulk the user had stars deducted from their balance, but the payment check could not be successfully processed on the game client because the backend sometimes could not receive it in time.

UNIGRAM PAYMENT 1.0.2

04 Oct 10:40
2d317da

Choose a tag to compare

NEW FEATURES:

  • Added the ability to query the history of successful purchases via GetPurchaseHistory(int amount, int totalPass) and purchase refunds GetRefundHistory(int amount, int totalPass) with the number of records and skips in between,
  • Added IsInitialized flag for easy tracking of initialization status if automatic SDK initialization in Awake is active.
  • [Backend] Added temporary storage of transactions to load them correctly from the game client after the user has successfully paid for the item.

REFACTORING:

  • Added additional parameter itemId when calling method void OpenInvoice(string invoiceUrl, string itemId) to correctly receive a payment check from the server.

BUG FIXES:

  • Fixed a critical bug that prevented multiple item sets from being purchased in bulk, as it would overwrite the actual payment receipt on the server,
  • Fixed a critical bug that prevented the game client from receiving a successful purchase status from the server when buying sets from multiple players at the same time.

IMPORTANT:

To use this version, you need to update the backend service on your server as well, so that requests from the client will work correctly.

UNIGRAM PAYMENT 1.0.1

29 Jul 05:45

Choose a tag to compare

NEW FEATURES:

  • Added extra argument string itemPayloadId when OnInvoiceLinkCreated event is triggered.
  • Added extra argument string itemPayloadIdwhen OnInvoiceLinkCreateFailed event is triggered.
  • Added extra argument SaleableItem failedPurchaseItem when OnItemPurchaseFailed event is triggered.
  • Added extra argument string transactionId when OnRefundTransactionFinished event is triggered.

BUG FIXES:

  • Fixed a bug that caused duplicate invocation of the OnRefundTransactionFinished event when a customer purchased more than once in a short period of time.

UNIGRAM PAYMENT 1.0.0

20 Jul 08:45
0d171f8

Choose a tag to compare

NEW FEATURES:

  • Added CreateInvoice(SaleableItem item) function for paying for items via Telegram Stars,
  • Added Refund(PaymentReceiptData receipt) function, to revoke a previously processed transaction,
  • Added RefreshToken() function that updates the API Server access token for continuous interaction with the payment module,
  • Added the option to receive payment receipts with buyer ID and transaction ID for refunds if needed.

BUG FIXES:

  • Fixed a bug that prevented the connection configuration to the API server from being created correctly.