Payment Page - Complete Mandate

šŸ“ How This Works:

1. Fill out billing info below (for testing)
2. Click "Start Checkout" - your data will pre-populate the payment form
3. Edit any fields in the payment form if needed
4. Fuse will use the data from the payment form (including any edits)

šŸ“Š Payment Flow Overview:
  1. šŸ“ Fill out billing info in the HTML form
  2. šŸš€ Click "Start Checkout" → sends data to backend (getCaptureContext.py via a Flask server)
  3. šŸŽÆ Backend creates capture context with pre-populated billing data and sends to Smartpay Fuse
  4. šŸ’³ Sidebar loads and displays with your pre-populated data sent in the capture context → user can edit and add card details
  5. āœ… User submits sidebar → Smartpay Fuse (JavaScript calls up.complete(token) using sidebar data (including edits))
  6. šŸ“Š JavaScript on webpage receives decoded transaction result with all details from Fuse

Billing Information (Test Data)

This data will pre-populate the payment form. You can edit it there before submitting.

šŸ”‘ Smartpay Fuse Credentials (Optional Override of Default Values)

Leave blank to use credentials from Configuration.py