Paddle Billing
Ask AI

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 Assistant

Ask me about Paddle

Discover, integrate, and debug faster. I'm here to help with all your questions and use cases.

Looking for help with a purchase? Visit paddle.net.

Powered by kapa.ai
|
Protected by hCaptcha