Hyperswitch Client Core is an SDK for integrating with Hyperswitch, providing essential functionalities for seamless payment processing. It offers a lightweight, efficient, and easy-to-use interface for developers to interact with Hyperswitch services.
https://github.com/juspay/hyperswitch-client-core.git
This repository hosts the essential components of the Hyperswitch SDK, which supports various platforms. Directly cloning this repository allows immediate access to a web-compatible version of the SDK.
Important: The official Hyperswitch Web SDK is maintained separately. Visit this link for details.
The hyperswitch-client-core is designed to function within a git submodule framework, facilitating integration with iOS, Android, React Native, Flutter, and Web platforms.
For Android or iOS integration, initialize the necessary submodules using:
git submodule update --init --recursive
To install required dependencies:
yarn install
.env
HYPERSWITCH_PRODUCTION_URL=""
HYPERSWITCH_INTEG_URL=""
HYPERSWITCH_SANDBOX_URL=""
HYPERSWITCH_LOGS_PATH="/logs/sdk"
PROD_ASSETS_END_POINT=""
SANDBOX_ASSETS_END_POINT=""
INTEG_ASSETS_END_POINT=""
%%CODEBLOCK2%%sh
yarn run server # This starts the mock server
yarn run re:start # This initiates the Rescript compiler
%%CODEBLOCK3%%sh
yarn run start
%%CODEBLOCK4%%shell
plutil -replace HyperswitchSource -string "LocalBundle" Info.plist
%%CODEBLOCK5%%
<key>HyperswitchSource</key>
<string>LocalHosted</string>
``
Get started with our ๐ integration guides