Skip to content

Environment variables ​

The SDK reads process.env on every call. There is no other configuration.

VariableRequiredDescription
SIMPLEPAY_MERCHANT_ID_HUFfor HUFHUF merchant ID
SIMPLEPAY_MERCHANT_KEY_HUFfor HUFHUF secret key. cancelCard uses it too.
SIMPLEPAY_MERCHANT_ID_HUF_SZEPfor SZÉP cardSZÉP card account merchant ID
SIMPLEPAY_MERCHANT_KEY_HUF_SZEPfor SZÉP cardSZÉP card account secret key
SIMPLEPAY_MERCHANT_ID_EURfor EUREUR merchant ID
SIMPLEPAY_MERCHANT_KEY_EURfor EUREUR secret key
SIMPLEPAY_MERCHANT_ID_USDfor USDUSD merchant ID
SIMPLEPAY_MERCHANT_KEY_USDfor USDUSD secret key
SIMPLEPAY_PRODUCTIONnoExactly true calls the live API; anything else uses the sandbox.
SIMPLEPAY_REDIRECT_URLin productionReturn URL. Must be absolute https in production. Sandbox falls back to http://url.to.redirect.
SIMPLEPAY_LOGGERnotrue logs debug output to the console. Never logs keys or email addresses.

API URLs ​

EnvironmentBase URL
Sandboxhttps://sandbox.simplepay.hu/payment/v2
Productionhttps://secure.simplepay.hu/payment/v2

Endpoints the SDK calls: /start, /dorecurring, /cardcancel, /dogooglepay, /startapplepay, /doapplepay.

Details: Configuration.

Unofficial community SDK. Not affiliated with or endorsed by SimplePay Zrt. MIT License.