Category : razorpay

<?php $email = $_GET["your-email"] ; $headers = ‘From: [email protected]’; // Set the subject of your email. $subject = "This is Test Mail"; $message = "This is Email Subject test url wwww.quantainfotech.com/shop"; ?> <script> var options = { "key": "abc", // Enter the Key ID generated from the Dashboard "amount": 99*100, "currency": "INR", "name": "abc", "description": ..

Read more

The Problem is the function myemailfunction() auto called on page reload, But I want if payment successful then it should be called. <?php $email = $_GET["your-email"] ; $headers = ‘From: [email protected]’; // Set the subject of your email. $subject = "This is Test Mail"; $message = "This is Email Subject test url wwww.quantainfotech.com/shop"; ?> <script> ..

Read more

This is my checkout code <button id="chechout">checkoout</button> <script src="https://checkout.razorpay.com/v1/checkout.js"></script> <script> document.getElementById("chechout").onclick = function(e) { var options = { "key": "<%= key %>", "currency": "INR", "name": "widebus", "description": "widebus Transaction", "image": "/favicon.ico", "order_id": "<%=order.id%>", "callback_url": "/is-order-complete", "theme": { "color": "#0EB9F2" } }; var rzp1 = new Razorpay(options); rzp1.open(); e.preventDefault(); } </script> i have initialised csrenter code ..

Read more

I have below code import React, { useEffect } from ‘react’; const PayByRazorPay = () => { const options = { key: ‘YOUR_KEY’, amount: ‘100’, // = INR 1 name: ‘Acme shop’, description: ‘some description’, image: ‘https://cdn.razorpay.com/logos/7K3b6d18wHwKzL_medium.png’, handler: function(response) { alert(response.razorpay_payment_id); }, prefill: { name: ‘Gaurav’, contact: ‘9999999999’, email: ‘[email protected]’ }, notes: { address: ‘some ..

Read more

Have been working on Razorpay payments API using flask,facing this issue since forever import razorpay import json from flask import Flask, render_template, request ,jsonify app = Flask(__name__) razorpay_client = razorpay.Client(auth=("rzp_test_8ydfJQKGSKoloz", "7LNONq8PYWjg4ImLujHDxpst")) order_id = ” def app_create(): order_amount = 50000 order_currency = ‘INR’ order_receipt = ‘order_rcptid_100’ notes = {‘Shipping address’: ‘Pune, Maharashtra’} something = razorpay_client.order.create(dict(amount=order_amount, currency=order_currency, ..

Read more