<button id="rzp-button1" class="btn btn-outline-dark btn-lg"><i class="fas fa-money-bill"></i> Own Checkout</button>
<script src="https://checkout.razorpay.com/v1/checkout.js"></script>
"description": "Acme Corp",
"image": "https://s3.amazonaws.com/rzp-mobile/images/rzp.jpg",
"email": "gaurav.kumar@example.com",
"contact": +919900000000,
name: "Pay using Axis Bank",
name: "Other Payment modes",
sequence: ["block.utib", "block.other"],
show_default_blocks: false
"handler": function (response) {
alert(response.razorpay_payment_id);
"ondismiss": function () {
if (confirm("Are you sure, you want to close the form?")) {
console.log("Checkout form closed by the user");
txt = "You pressed Cancel!";
console.log("Complete the Payment")
var rzp1 = new Razorpay(options);
document.getElementById('rzp-button1').onclick = function (e) {