Razorpay Payment Gateway Integration in PHP/HTML with DB Integration | Hindi Web Tutorials - Part 2

  Рет қаралды 9,473

Gotham Coding

Gotham Coding

Күн бұрын

Пікірлер: 87
@jhoshnamedia3552
@jhoshnamedia3552 8 ай бұрын
Thank you very much, it is working, special thanks to azhar khan for your online support
@durgathevar2717
@durgathevar2717 Жыл бұрын
Thank you thank you so much, I was looking for this only
@GothamCoding
@GothamCoding 10 ай бұрын
awesome
@deepikajagtap9750
@deepikajagtap9750 2 жыл бұрын
thank you sir so much
@mukultiwari1955
@mukultiwari1955 2 жыл бұрын
thanx man your video is like an angle.....😂😂😂
@GothamCoding
@GothamCoding 2 жыл бұрын
Haha :)
@iamansohal
@iamansohal 3 жыл бұрын
After wasting a lot of time, finally I found a solution. Thank you so much.
@iamansohal
@iamansohal 3 жыл бұрын
Can you make a video on how to fetch this table info in a view in CI 4?
@GothamCoding
@GothamCoding 3 жыл бұрын
There are few videos in queue. Will make as soon as i get time ✌️
@iamansohal
@iamansohal 3 жыл бұрын
@@GothamCoding Thank you ❤️
@deepikajagtap9750
@deepikajagtap9750 2 жыл бұрын
literally your are right
@gigsquad_tech
@gigsquad_tech 2 жыл бұрын
ThankU, You Got A New Sub
@surajkrsuman9438
@surajkrsuman9438 3 жыл бұрын
Thanks 😁 Bhaiya got it finally 🤩
@GothamCoding
@GothamCoding 3 жыл бұрын
Great 👍
@gauravindora6306
@gauravindora6306 2 жыл бұрын
sir agr ek or dsure form pe alg databse or sb different krna to ky krege??
@GothamCoding
@GothamCoding 2 жыл бұрын
New php file create krke bs db change krna hoga.
@aamayasinha1573
@aamayasinha1573 3 жыл бұрын
One of my friend recommended me this channel. I came here. I am be like so nicely you explained it and now I have completed payment gateway of my project. So, please make a video on email and mobile verification. Your subscribers can increase by 20 in a day. Everyone is searching for this . None of the channel has explained it nicely. Plz plz make it🙏
@GothamCoding
@GothamCoding 3 жыл бұрын
Thanks for your kind words, glad it helped you. I will make the video on email and mobile verification by next week.
@aamayasinha1573
@aamayasinha1573 3 жыл бұрын
@@GothamCoding waiting for your video sir.
@ankita3650
@ankita3650 Жыл бұрын
hi, When I try to scan, its showing invalid upi id.. What should I do?
@tanishqkavlekar3272
@tanishqkavlekar3272 2 жыл бұрын
Hii I am getting an error that razorpay_signature is undefined in verify.php please help
@tanishqkavlekar3272
@tanishqkavlekar3272 2 жыл бұрын
Please help sir, it's urgent please
@GothamCoding
@GothamCoding 2 жыл бұрын
Did you downloaded the github repo? You can download and try that.
@GothamCoding
@GothamCoding 2 жыл бұрын
If it's urgent you can message me on Instagram i can take a look.
@palashsharma2931
@palashsharma2931 3 жыл бұрын
how to add on click event when any one cancel the payment dialog
@GothamCoding
@GothamCoding 3 жыл бұрын
You can create a myFunction and trigger it with onclick="myFunction()".
@ialaxmangarhalwar2225
@ialaxmangarhalwar2225 2 жыл бұрын
i want that after entering all details on first page, it don't go to next page for pay button. how can we scipt that process
@GothamCoding
@GothamCoding 2 жыл бұрын
You can direct call the automatic script on your page.
@funlow3003
@funlow3003 3 жыл бұрын
Thanks brother for helping me, I am so happy brother you solve my problem
@GothamCoding
@GothamCoding 3 жыл бұрын
Glad to help 🤗
@shailysingh844
@shailysingh844 3 жыл бұрын
Finally I got the video😭 😭😭 Searching for this from too long
@GothamCoding
@GothamCoding 3 жыл бұрын
Glad the video helped you :)
@ankitsingh9084
@ankitsingh9084 3 жыл бұрын
How to take price from a item and show for that price and pay
@GothamCoding
@GothamCoding 3 жыл бұрын
You can use direct field instead of form as shown in Part 2, and store your prices in databases.
@skeletonroast3614
@skeletonroast3614 3 жыл бұрын
Bro I want to give amount as per subtotal how to code that please help
@GothamCoding
@GothamCoding 2 жыл бұрын
Didn't understand you query.
@newcodingworld3222
@newcodingworld3222 2 жыл бұрын
Payment pending ho Jay fir kya Kara
@GothamCoding
@GothamCoding 2 жыл бұрын
Dono me se kisi ek case me jayega, agar failed me jata to firse retry ka option aata.
@Fox_factz
@Fox_factz 2 жыл бұрын
I need your help bhai
@GothamCoding
@GothamCoding 2 жыл бұрын
Yes, drop your issue here or on instagram, both works for me.
@Fox_factz
@Fox_factz 2 жыл бұрын
Please help brother 🙏
@GothamCoding
@GothamCoding 2 жыл бұрын
Yes, drop your issue here or on instagram, both works for me.
@DhruvPatel-vl1tj
@DhruvPatel-vl1tj Жыл бұрын
when i am scanning the qr code it is showing invalid upi id what is the solution?
@amitbhatia9879
@amitbhatia9879 3 жыл бұрын
First of all , thanks for the video....it is really useful.....payment is done ....but it is showing signature not verified.....
@GothamCoding
@GothamCoding 3 жыл бұрын
This might help you: stackoverflow.com/questions/60673260/unable-to-verify-razorpay-signature-in-hosted-checkout-php
@bishnuprasadpani5123
@bishnuprasadpani5123 3 жыл бұрын
If I add any other column suppose I want to add customer name like price you added ,it is not added in the database.
@GothamCoding
@GothamCoding 3 жыл бұрын
You can add a new column in database and add the field in html form, and add in the database query.
@ritiksrivastava7655
@ritiksrivastava7655 3 жыл бұрын
Sir joh paynow ka button h uski position ko center pr kaise laae
@GothamCoding
@GothamCoding 3 жыл бұрын
CSS laga ke jaisa chahe waisa kar skte.
@ritiksrivastava7655
@ritiksrivastava7655 3 жыл бұрын
@@GothamCoding sir wahi samjh nhi aa rha hai Pay now wale button ki html kis page pr hogi ?.
@GothamCoding
@GothamCoding 3 жыл бұрын
Where the form is.
@DurgeshKumar-gx1bl
@DurgeshKumar-gx1bl 4 жыл бұрын
how to know payment is fail ??
@GothamCoding
@GothamCoding 4 жыл бұрын
On pay.php, line 50 the else condition is printed when the payment is failed. Usually it doesn't not show because RazorPay themselves shows it in the payment box.
@Fox_factz
@Fox_factz 2 жыл бұрын
Please help brother
@GothamCoding
@GothamCoding 2 жыл бұрын
Yes, drop your issue here or on instagram, both works for me.
@bansipatel9158
@bansipatel9158 3 жыл бұрын
my db is not connected it is giving an error
@bansipatel9158
@bansipatel9158 3 жыл бұрын
it is showing access denied for root
@GothamCoding
@GothamCoding 3 жыл бұрын
This is connection error. Your db is not connecting, means username or password is incorrect. If you are using XAMPP then the username and password should be DB User: root DB Pass: root Or the password can be empty also in some versions. If you can tell your software i can tell you the default db username password.
@Sivan-Alaya-Payanam
@Sivan-Alaya-Payanam 3 жыл бұрын
There one more parameter signature kindly can you make one video on that
@GothamCoding
@GothamCoding 2 жыл бұрын
Which one?
@shwetakharade2313
@shwetakharade2313 Жыл бұрын
Deprecated: Return type of Razorpay\Api\Resource::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Music website\RazorPay-API azorpay-php\src\Resource.php on line 18 ye error show kar raha hai
@creativeart3463
@creativeart3463 3 жыл бұрын
I followed this video to integrate razorpay, after order cancellation How to make refund sir,
@GothamCoding
@GothamCoding 3 жыл бұрын
For refund, order details, bank details you have to use the api request as shown in the razorpay documentation.
@harshdubey3963
@harshdubey3963 2 жыл бұрын
Thank you for the video. I have implemented the payment gateway (test mode). When payment is successful I want details to be inserted in dB and also want to update some values that are already in dB. The details are being inserted successfully but the values I want to update are not being updated. Any suggestions would be quite helpful.
@GothamCoding
@GothamCoding 2 жыл бұрын
For update you can pick email id or Transaction ID, the main thing in updation is what you pick as primary key.
@anoopanand7664
@anoopanand7664 3 жыл бұрын
hi,, how can i give custom order_id (like OD12345) in this ? now it shows error wehn giving custom order_id
@GothamCoding
@GothamCoding 3 жыл бұрын
That is razorpay_order_id, it is generated from razorpay, and you should not change it. Rather than you can use/edit $orderData = ['receipt' => 3456,] in github.com/adminazhar/RazorPay-PHP-Integration-with-DB/blob/main/pay.php or $data = [ "merchant_order_id" => "12312321",] And store these in session and insert that into the db.
@a.muthukumar46
@a.muthukumar46 3 жыл бұрын
If possible to create and send a razor pay payment link to customer email id once click send button on UI
@GothamCoding
@GothamCoding 3 жыл бұрын
I didnt understand your query. If you want direct payment link then you can try razorpay inbuilt functionality: razorpay.com/payment-links/
@designfree
@designfree 2 жыл бұрын
Rozorpay ka refund kyse kare koi specific product id ko lekar or usko database main kyse update kare php mysql main?
@GothamCoding
@GothamCoding 2 жыл бұрын
Use this: razorpay.com/docs/api/refunds/ And log the results in mysql db, like i logged order confirmation in this video.
@soyelrana6960
@soyelrana6960 4 жыл бұрын
How to hide the pay button and automatically clicked on the pay button on reloading the pay.php page?
@GothamCoding
@GothamCoding 4 жыл бұрын
There is no direct way to do it. But you can use window autoload function to trigger the Pay Button, and the Pay Button has a CSS class so it will be easy to select that. Add in your pay.php code and the button will be automatically clicked //jQuery window.onload function automatically runs when the browser loads $(window).on('load', function() { //we can select the button with its class and then click it jQuery('.razorpay-payment-button').click(); }); I haven't tested the code but it will work for sure. If it doesn't work then let me know I will try to re-write this code.
@vamshikrishna9912
@vamshikrishna9912 3 жыл бұрын
Hi. Excellent Thank you for it. one small issue, If I refresh verify.php (after successful transaction). In the database, it creates an extra row with the same values ( order_id, payment_id, status, email, price) and the primary id is only incremented by one. How to solve this one.
@GothamCoding
@GothamCoding 2 жыл бұрын
You can use the check if order_id/payment_id already exists then don't insert new row in mysql.
@anoopanand7664
@anoopanand7664 3 жыл бұрын
hi, instead of hardcodiing amount,how can i give dynamic amount in this function... $order = $api->order->create([ 'receipt' => 'order_rcptid_11', 'amount' => 1000, 'currency' => 'INR', 'payment_capture' => 1 ]);
@GothamCoding
@GothamCoding 3 жыл бұрын
Just use any php variable inside the array. 'amount' => $amt; and define it outside it so everytime it will be dynamic. Also you can fetch the variable from db.
@benpark506
@benpark506 2 жыл бұрын
Me aap ko content kaise karu ..... Mujhe apni website pe payment gateway integration karwana hai
@GothamCoding
@GothamCoding 2 жыл бұрын
Sorry, i actually work fulltime as a Senior Software Engineer, and currently i don't have much time for freelancing.
@arjunsharmagorakhpur
@arjunsharmagorakhpur 4 жыл бұрын
Nice
@DhruvPatel-vl1tj
@DhruvPatel-vl1tj Жыл бұрын
bro pls reply its urgent
@supriyochowdhury1690
@supriyochowdhury1690 2 жыл бұрын
payment success but it show me a error kindly help Notice: Undefined index: razorpay_order_id in /home/simmarketplace/public_html/app/verify.php on line 26 Your payment failed Razorpay Error : Invalid signature passed
@GothamCoding
@GothamCoding 2 жыл бұрын
Something with the session check your code. And download this and change your id and db details for quick setup: github.com/adminazhar/RazorPay-PHP-Integration-with-DB
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Razorpay Payment Gateway Integration in Java powered website
4:35
Razorpay Payment Gateway Integration in PHP and MYSQL
24:10
Error Solution
Рет қаралды 2,4 М.
DeepSeek R1 Just Revolutionized AI Forever
21:06
Cole Medin
Рет қаралды 45 М.
How to Connect HTML Form with MySQL Database using PHP
7:09
Technical Babaji (Tarique Akhtar)
Рет қаралды 2,5 МЛН
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
AI Revolution
Рет қаралды 162 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН