Skip to content

Playground

Discover the Payplug Elements with ephemeral test sessions.

Try the Payplug Elements with a demo merchant in the sandbox, connected to a demo PSP that lets you choose the outcome of the transactions. The session carries a test order with every payment method and a 10-minute lifetime. If your session expires, start over with a new session from the configuration panel.

Open Configuration, with the button at the top right. You can try the effect of the various settings on the elements. Some settings need a new session to take effect: the configuration panel clearly tells you so with “needs a new session”. To create a new session with your changed settings, click the new-session button at the bottom of the configuration panel.

Open Configuration on the playground and go down to Theme. Move a control, and the elements restyle instantly: the editor simply writes the --payplug-* tokens the Styling guide documents, straight onto that <payplug-session>.

The editor writes values that are independent of the light or dark scheme. To keep a distinct dark variant, scope your overrides as shown in the dark mode recipe.

  • Pay by card: the full amount, or part of it: the 3DS hop takes you to the demo PSP page and back here, session intact. On that page, try lowering the amount authorised: you’ll come back to the issuer-imposed partial banner and its accept/refuse choice.
  • Split the order: a partial card tranche, then Apple Pay for the rest. Apple Pay authorizes without a redirect: a panel opens for you to choose the verdict.
  • Refuse, cancel, abandon: decline a verdict, cancel one authorized tranche from the progress panel, or abandon everything: nothing is ever charged, every hold is released.