Payment Widget Integration
Testing the Optty Widgets in Sandbox Mode
To test the functionality of the optty-order-creation-widget
, follow these steps:
Access the Sandbox: Go to the Optty Widgets Sandbox at https://widgets.qa.optty.com/
Set Mode to Live: In the Mode dropdown, select Live.
Choose Currency: Select either AUD or GBP as the currency.
Provide Your Sandbox Token: Enter your sandbox
widgetToken
into theInsert JSON Web Token Here
input field.Apply Configuration: Click the
Apply Config
button to update the settings.Select a Payment Provider: Scroll to the
#10 Optty Easy Checkout Widget
section and choose a payment provider.Process Payment: Navigate to the Optty Order Creation Widget section and click the Pay button to complete the process.
Create order Widget Setup and Integration
Using Optty JS to handle the Payment
Step 1 - Widget Setup & Initialization
1.1 Initiate Widget
1.2 Load configuration
1.3 Setup Optty Easy Checkout Widget
Step 2 - Add Payment Provider Selection
Add this div where you want the payment provider options to appear:
Step 3 - Setup Optty Order Widget
Call the widget with required payload structure:
Last updated