Skip to content

A simple and responsive payment form simulation for testing payment flows. Supports card input formatting, fixed $1 payment, success/failure simulation, and custom redirection URLs.

Notifications You must be signed in to change notification settings

yavuzceliker/payment-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Payment Simulation Tool

A simple and responsive payment simulation tool for testing payment flows. This tool allows you to simulate payment scenarios without connecting to a real payment gateway.

Features

  • Card Input Formatting: Automatically formats card number, expiry date, and CVV while typing.
  • Fixed Payment Amount: The payment amount is fixed at $1.
  • Custom Result URL: Users can set a custom callback URL for redirection.
  • Status Simulation: Easily toggle between success or failure scenarios using radio buttons.
  • Responsive Design: Built with Bootstrap for seamless usage on any device.

How to Use

Simply visit: https://yavuzceliker.github.io/payment-simulation/

Steps:

  1. Open the link in your browser.
  2. Fill in the required fields (card details, expiry date, CVV, result URL).
  3. Choose the payment status (Success or Failed).
  4. Click Pay Now to simulate the payment. You'll be redirected to the provided URL with the selected status.

License

This project is licensed under the MIT License. Feel free to use, modify, and adapt it for your projects.

About

A simple and responsive payment form simulation for testing payment flows. Supports card input formatting, fixed $1 payment, success/failure simulation, and custom redirection URLs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages