Bhai manlo agr mushe koi aur gateway use krna hai phone pe ki jgh jo avii itna famaous ni h to kaise use krenge same process rhega ya thoda different rhega ya kuch changes krne honga ..olz bta do
CORS means ? Cross origin resource sharing means when frontend and backend has different URL then backend does not trust other untrusted URL in this This case frontend URL is untrusted url so in code setup You have give trusted or fronted URL in origin field so that backend can only share resources with that given URL. And what method should be allowed for that cors ? Those will be get put post delete also include accept headers.
@@pratapbairagi7824 yes i am using it in next js it worked fine for testing but for production it is giving cors error , iam getting the url for payment in network but not able to redirect directly to that page for payments.
We are facing issue in redirecting the Url to payment page in prod. we have used our end point url live from digital ocean. It still shows cors error,. When spoke to phonepe support they are speaking about using callback url instead of this. We dont understand and stuck,. Can you help.
I have registered on phonpe business and i have not received any merchant id and salt key. Is it possible to start integration(test mode) without these merchantid and salt key ?
brother basically phone pe integration server side hota he client side nahi hota, isme aap reactjs use karo ya nextjs kaam to apko server side hi karna padega, response payment URL apko server side se hi milgea
Hi... I want to integrate phonepe in my nodejs application. My requirement is my users can send money to other users. I don't want to receive any payment. I only want the payment status. Is it possible?
Sir I want to create offers in phonepe pg for my eCommerce store on Shopify can I create this Or costomize any thing in my phonepe pg for Shopify store
Im getting this error { "success": false, "code": "BAD_REQUEST", "message": "Please check the inputs you have provided.", "data": {} } but all payload values are correct.? why this error comming.?
sir ,your video is good and clear to understand . sir ,our requirement is when our customer scan our QR code & pay then how we get amount and mobile no of customer .
test mode mai error tho nahi aa raha hai par who checkStatus ke tarf ja hi nahi raha hai maine dummy credential se payment kiya par who same point pe la de raha hai jaha se open hua tha
In this video I understood the transaction processing part. Could you explain me where that money goes and how to check that transaction. And also explain how to create the tokens/api's with a phonepe account.
@@Codesense24 How to run the code I used npm start for client folder and for other part of code I used nodemon server.js But it is not working. also tell me which url i have to change please
@@Codesense24 i go an error like {"error": "key_error_code:ERROR_B2B_API_RETURNED_ERRORkey_error_result:{\"code\":\"401\",\"success\":false}", "status": "FAILURE"}
@@mujjupalaan server side se integration karo and localhost me karoge to apko cors error aayega aap meri video poori dekho, react or nextjs ke liye dono ke liye aapko nodejs use karna padega ya php use karna padega to nodejs ke liye aap meri poori video dekh lo and axios ki jagah aap fetch use kar lo
apna code bhejo mujhe email par aur error kya aa raha he uska screenshots send karo whatsapp par email: codesense24@gmail.com 7498608775 no call only whatsapp please
But form ka data payment complete hone ke baad mongodb me kaise save karenge usko explain karo please. Flow ye hona chahiye submit pr click karne ke baad phonepe ka gateway open ho aur payment complete hone ke baad form ka data mongodb me save ho jaaye. Uske baad success response react ke page pr dikhe.
brother ye integration video he, agar data apko mongodb me save karna he to apko mongodb ki videos dekhna chahiye, pehle apko mongodb se connect karna hoga and uske baad model banana hoga and then aap koi bhi data wo model ka use karke save Kar sakte ho easy steps he aap koi bhi videos dekhoge to samjh jaoge
jab apko response me data milega to aap wahi par hi data save kar sakte ho and model ka use karke fetch bhi kar sakte ho and then wo data aap response me send kar sakte ho
@@Codesense24 wo sab kuch setup hai... Hota ye hai ki razorpay same page pr hi success response deta hai.. response validate karne ke baad post method se data send kar kar ke db me save kar dete hai... but phonepe ka payment page alag tab me open ho rha hai aur response callback me de rha hai usko form page pr response kaise get kar ke save kare wo janna hai... aap agar iske uper ek video bana dete to bahut saare developers ki help ho jati
A callback URL will be invoked by the API method you're calling after it's done. The callback URL is like that return envelope. You are basically saying, "I am sending you this data; once you are done with it, I am listening on this callback URL waiting your response." So the API will process the data you have sent then look at the callback to send you the response.
@@ShubhamMisal-qm7jq Callback URL is not a code, it is just a URL that is called after the payment is completed. And you can take that URL through get method or post method or any type of URL. That URL is called after payment is completed.
Great timing , I was searching this gateway integration and here you are ❤❤
When i open your Github link it is showing "Page Not Found" ??
Yes same thing happening to me also
Could you give GitHub link
Can you help me in resolving cors error so that I can directly redirect to phonepay page after clicking the pay now button
in localhost you’ll get the cors error, But when your website goes live then cors error will not occur.
try to use cors library
What u kept in .env file please reply
Bhai manlo agr mushe koi aur gateway use krna hai phone pe ki jgh jo avii itna famaous ni h to kaise use krenge same process rhega ya thoda different rhega ya kuch changes krne honga ..olz bta do
sabke alag alag process hote hain aap unke documentation page par jakar check kar sakte ho
How to resolve cors issue during production
CORS means ? Cross origin resource sharing means when frontend and backend has different URL then backend does not trust other untrusted URL in this This case frontend URL is untrusted url so in code setup You have give trusted or fronted URL in origin field so that backend can only share resources with that given URL. And what method should be allowed for that cors ? Those will be get put post delete also include accept headers.
Bro did you find the solution iam also struggling with that .
@@loopless6248 are you trying to implement phonePe ?
@@pratapbairagi7824 yes i am using it in next js it worked fine for testing but for production it is giving cors error , iam getting the url for payment in network but not able to redirect directly to that page for payments.
We are facing issue in redirecting the Url to payment page in prod. we have used our end point url live from digital ocean. It still shows cors error,. When spoke to phonepe support they are speaking about using callback url instead of this. We dont understand and stuck,. Can you help.
message me on whatsapp’s and ye comment ka screenshots send karo whatsapp par +917498608775
bro how did you solve it iam also stuck on same step ?
Thank u so much brother for Explaining well.
pls esa hi video app express se bna skte ho kya uska flow samjhna tha
express se hi banaya he main ne
Bro u r doing great work!!!
Thank you so much
github link is not working, can u provide the latest one
I have registered on phonpe business and i have not received any merchant id and salt key. Is it possible to start integration(test mode) without these merchantid and salt key ?
yes you can start without prod id & key, you’ll get test id & key on phone pe docs
Hello Brother , I am trying to integrate this phonepe integration in next js website . Can you make a video on it please
Same here
brother basically phone pe integration server side hota he client side nahi hota, isme aap reactjs use karo ya nextjs kaam to apko server side hi karna padega, response payment URL apko server side se hi milgea
Bro github link is not found.......... Please provide me it is very very urgent for me.........
Please reply what u have kept in .env file
Have tried this? Is it working and how simple is that
Bro.. I deployed my website but "payment Page Redirect" nahi hora hai. help me
Hi... I want to integrate phonepe in my nodejs application. My requirement is my users can send money to other users. I don't want to receive any payment. I only want the payment status. Is it possible?
message me on whatsapp +917498608775
yes possible messgae me on whatsapp
Great tutorial! Thanks! Can you add callback URL so we can get response data on success page?
Yes, sure
Sir I want to create offers in phonepe pg for my eCommerce store on Shopify can I create this
Or costomize any thing in my phonepe pg for Shopify store
It is giving syntax error for '
Your github link for code does not working
Im getting this error
{
"success": false,
"code": "BAD_REQUEST",
"message": "Please check the inputs you have provided.",
"data": {}
}
but all payload values are correct.? why this error comming.?
check your merchant id and key is correct and not empty string
@@Codesense24 it's correct , other api are working with same merchant Id and salt key, like paylink and status check api
check api url, if you’re using product id and key then use prod api URL
@@Codesense24 please share the production pay api for phonepe,
Hi ,
Any solutions i am getting same error.
sir ,your video is good and clear to understand .
sir ,our requirement is when our customer scan our QR code & pay then how we get amount and mobile no of customer .
Watch my complete video, I have told in it how to check payment status, or customer details
Bhai sahab apse kuchh help chahiye introgation me
message karo aap mujhe whatsapp par
where do i get the merchant id, salt key and other credential to go live with my integration.
contact to phonepe via email
marchat id kya h kese bnti h
merchant id ke liye apko phone pe ke email id par mail karna hoga, aur testing ke liye Merchant id apko unke document page par mil jayega
test mode mai error tho nahi aa raha hai par who checkStatus ke tarf ja hi nahi raha hai maine dummy credential se payment kiya par who same point pe la de raha hai jaha se open hua tha
mujhe bhi yahi issue aa raha tha ye phone pe ki taraf se error aa raha he maybe, isi liye main ne live integration karke bataya
Can you make one with with AIRPAY payment integration in node
Ek paytm wale ke sath wala bhee video bana dijiye. How to integrate Paytm Payment Gateway
meri videos mein apko paytm payment integration ki bhi videos mil jayegi
Hi, can you create a video on google pay gateway via google pay business api for India.
i’ll try
In this video I understood the transaction processing part.
Could you explain me where that money goes and how to check that transaction. And also explain how to create the tokens/api's with a phonepe account.
Register your business account on phone and they will send you your merchantID and salt keys through email.
@@Codesense24 ok thank you. Apart from those do we require any other details from our account the should be changed in the code?
@@vij-kol-rajaman-s8b No change, copy the entire code and do the same. (replace your merchant id, merchant key and url)
@@Codesense24 How to run the code I used npm start for client folder and for other part of code I used nodemon server.js
But it is not working.
also tell me which url i have to change please
Aapka github link nhi khul raha.
Hua kuch bhai?
@@pratapbairagi7824 nhi
check again
bro in react natie=ve can u do please
you can integrate phonepe integration only in server side
@@Codesense24 i go an error like {"error": "key_error_code:ERROR_B2B_API_RETURNED_ERRORkey_error_result:{\"code\":\"401\",\"success\":false}", "status": "FAILURE"}
@@Thatsallyouneed share your server side code payment integration screenshots on whatsapp +917498608775
Bhai nextjs pe bhi phonepe integration video banaoo
sorry brother i don’t know nextjs, but in future main seekhunga isko
@@Codesense24 brother javascript fetch method pe bana dijiye
@@mujjupalaan axios fetch sab ek jaisa hi hai aap mera code chatgpt ko do aur usko bolo fetch method me convert karke dene wo sab karke apko de dega
@@Codesense24 but I’m getting cors error
@@mujjupalaan server side se integration karo and localhost me karoge to apko cors error aayega aap meri video poori dekho, react or nextjs ke liye dono ke liye aapko nodejs use karna padega ya php use karna padega to nodejs ke liye aap meri poori video dekh lo and axios ki jagah aap fetch use kar lo
request failed with status 400 errror arha hai apke github wale code ko runkiya to
aap apna merchant id aur salt key use karo
phir bhi problem aaye to aap apna code mail karo mujhe codesense24@gmail.com par
Thanks Bhai 😂❤
bro production url pr 500 server error a raha
apna code bhejo mujhe email par aur error kya aa raha he uska screenshots send karo whatsapp par
email: codesense24@gmail.com
7498608775
no call only whatsapp please
Thank you 🙏
Hello sir I have sent email please response me .
I am waiting for your response .
I am getting 429 error from 15 days.
have your issue fixed?
@@amansaxena6510 no
But form ka data payment complete hone ke baad mongodb me kaise save karenge usko explain karo please. Flow ye hona chahiye submit pr click karne ke baad phonepe ka gateway open ho aur payment complete hone ke baad form ka data mongodb me save ho jaaye. Uske baad success response react ke page pr dikhe.
brother ye integration video he, agar data apko mongodb me save karna he to apko mongodb ki videos dekhna chahiye, pehle apko mongodb se connect karna hoga and uske baad model banana hoga and then aap koi bhi data wo model ka use karke save Kar sakte ho easy steps he aap koi bhi videos dekhoge to samjh jaoge
jab apko response me data milega to aap wahi par hi data save kar sakte ho and model ka use karke fetch bhi kar sakte ho and then wo data aap response me send kar sakte ho
@@Codesense24 wo sab kuch setup hai... Hota ye hai ki razorpay same page pr hi success response deta hai.. response validate karne ke baad post method se data send kar kar ke db me save kar dete hai... but phonepe ka payment page alag tab me open ho rha hai aur response callback me de rha hai usko form page pr response kaise get kar ke save kare wo janna hai... aap agar iske uper ek video bana dete to bahut saare developers ki help ho jati
@@shamshad_hussain thik he main ek updated video bana deta hu using mongodb
@@Codesense24 thanks you so much 💓
what about callBackurl in it ??
A callback URL will be invoked by the API method you're calling after it's done.
The callback URL is like that return envelope. You are basically saying, "I am sending you this data; once you are done with it, I am listening on this callback URL waiting your response." So the API will process the data you have sent then look at the callback to send you the response.
Thanks for the reply, can you please send me the demo snippet of callback code?
@@ShubhamMisal-qm7jq You will get the github link in description
I guess, i github repo code , callbackurl code is not there??
@@ShubhamMisal-qm7jq Callback URL is not a code, it is just a URL that is called after the payment is completed. And you can take that URL through get method or post method or any type of URL. That URL is called after payment is completed.
Prod api is not working
Edit : it worked Thank you!
Addition you have to make a secret.js also
How? Tell more bro, i am stucked on prod api
please can u tell how to did?
yes iam also getting cors error in live website also can someone help me ?
Bro please provide github source code
Great
thanks
Hello broo
Hello
@@Codesense24 payment gateway set in website bro pls
@@midhunfrancis1873 apko code me problem aa rahi he ya apko scratch se start karna hai? mujhe whatsapp karo +917498608775 call nahi only whatsapp okay
sub kuch thik hai but sir apne kya kya packages install kiya hua hai ye to nahi bataya apne please woh bhi bataiye
aap mera code dekho description mein github ki link diya hua he
@@Codesense24 github link is not working. Kya kare ?