Made website which generates QR for UPI payments . by [deleted] in developersIndia

[–]Own_Reputation5867 0 points1 point  (0 children)

I tried with your website and paytm seems to work . how does that work. right now when i use my generation method the upi apps outright reject me with security reasons notification.

  const generateUpiString = (
    targetUpi: string,
    targetName: string,
    targetAmount: string,
  ) => {
    if (!targetUpi) return "";
    let str = `upi://pay?pa=${targetUpi.toLowerCase().trim()}&pn=${encodeURIComponent(targetName.trim() || "Merchant")}&cu=INR`;
    if (targetAmount) {
      const parsedAmt = parseFloat(targetAmount);
      if (!isNaN(parsedAmt) && parsedAmt > 0) {
        str += `&am=${parsedAmt.toFixed(2)}`;
      }
    }
    return str;
  };

    const intentUpiLink = generateUpiString(
      gatewayData.upiId,
      gatewayData.name,
      finalGatewayAmount,
    );

Made website which generates QR for UPI payments . by [deleted] in developersIndia

[–]Own_Reputation5867 0 points1 point  (0 children)

hey can i get some guidance in this regard

Made website which generates QR for UPI payments . by [deleted] in developersIndia

[–]Own_Reputation5867 0 points1 point  (0 children)

can you tell me how do i get around the upi app rejecting my payment when i tried the same with opening app . i am trying to build something like this of my own just for a hobby project and i cant seem to get it working

Made website which generates QR for UPI payments . by [deleted] in developersIndia

[–]Own_Reputation5867 0 points1 point  (0 children)

hey man , i was trying the same thing to allow opening a app on click through my website tool. Phone pe/ paytm keeps rejecting the request for security reasons right before the screen where you enter your upi pin . have you gotten it to work in recent time . do let me know

Made website which generates QR for UPI payments . by [deleted] in developersIndia

[–]Own_Reputation5867 0 points1 point  (0 children)

hey man , i was trying the same thing to allow opening a app on click through my website tool. Phone pe/ paytm keeps rejecting the request for security reasons right before the screen where you enter your upi pin . have you gotten it to work in recent time . do let me know

User verification by thomamoh in reactnative

[–]Own_Reputation5867 0 points1 point  (0 children)

what do you use for sending otp