Skip to content

Releases: MrVeit/Veittech-UnigramPayment

UNIGRAM PAYMENT 1.0.3

16 Oct 13:58
2c3561b
Compare
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
Compare
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
Compare
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
Compare
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.