Skip to content

Add USDT support and enhance store configuration and test setup management#168

Merged
anktd merged 60 commits intoblockonomics:masterfrom
ashthecoder05:Whmcs_USDT_changes
Apr 17, 2025
Merged

Add USDT support and enhance store configuration and test setup management#168
anktd merged 60 commits intoblockonomics:masterfrom
ashthecoder05:Whmcs_USDT_changes

Conversation

@ashthecoder05
Copy link
Copy Markdown

@ashthecoder05 ashthecoder05 commented Dec 24, 2024

This PR includes both #169 & #167

Features

  • Added USDT support
  • Integrated Web3 payment interface for USDT transactions
  • Enhanced store configuration and management
  • Improved test setup UI showing specific crypto status

Improvements

  • Redesigned test setup with clear success/error indicators
  • Automatic store name retrieval from Blockonomics API
  • Better handling of wallet and store connections
image (1) image (2) image (3)

Test Setup process flow

updated_test_setup_flowchart

@anktd
Copy link
Copy Markdown
Collaborator

anktd commented Mar 13, 2025

I have identified an issue that the testSetup function should check cryptocurrencies based on what's configured in Blockonomics, not what's enabled in WHMCS settings, while the checkout flow needs to respect both these settings. Currently checkout is also always enabling BTC.

'txhash' => $txhash,
'crypto' => strtoupper($crypto),
'match_callback' => $callback_url,
'testnet' => '1' // Remove this in production
Copy link
Copy Markdown
Collaborator

@anktd anktd Mar 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not required

order_amount="{$order_amount}"
receive_address="{$order_receive_address}"
redirect_url="{$WEB_ROOT}/modules/gateways/blockonomics/payment.php?finish_order={$order_hash}"
testnet=1
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here also USDT network is hardcoded as testnet

@anktd
Copy link
Copy Markdown
Collaborator

anktd commented Mar 29, 2025

Added config for Sepolia testnet for USDT checkout


image

Copy link
Copy Markdown
Collaborator

@anktd anktd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR is ready to merge @DarrenWestwood

@anktd anktd merged commit 67f1a25 into blockonomics:master Apr 17, 2025
Repository owner deleted a comment from Zh5577 Sep 29, 2025
Repository owner deleted a comment from Zh5577 Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants