Resolves the Paddle API key based on environment variables and the selected mode (live or sandbox).

get_paddle_key()

Value

A character string representing the Paddle API key.

Examples

if (FALSE) { # paddle_has_token()
get_paddle_key()  # returns token for current mode
}