Paddle.Environment.set()

Sets environment to sandbox or live.

Use Paddle.Environment.set() to set the environment for your checkout.

Only used to set the sandbox environment. If not present, Paddle uses the production environment.

You should call this method before calling any other Paddle.js methods, ideally just before your Paddle.Initialize() call.

Parameters

environmentstring

Paddle environment that you're working with.

Examples

Related pages

AI AssistantBeta

Ask a question to start a conversation!

If you have made a purchase through Paddle, go to paddle.net instead.

Powered by kapa.ai
|
Protected by hCaptcha