Re: Sending Live Streaming Images from Client’s Webcam to Django Server

2022-10-12 Thread Anshuman Thakur
My question is how to send live streaming from client webcam to Django 
server.

On Tuesday, October 11, 2022 at 8:21:48 PM UTC+5:30 amruth...@gmail.com 
wrote:

> This is secret key may be you would share this ? Which key is it
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8fee0563-bce7-4dc5-bd95-62bf4756317fn%40googlegroups.com.


Re: Sending Live Streaming Images from Client’s Webcam to Django Server

2022-10-12 Thread Anshuman Thakur
Sir my question is: Sending Live Streaming  from Client’s Webcam to Django
Server.


On Tue, Oct 11, 2022 at 2:39 AM 'Kasper Laudrup' via Django users <
django-users@googlegroups.com> wrote:

> On 08/10/2022 21.28, Anshuman Thakur wrote:
> > Sr plz anyone help me for this question
> >
>
> Which question?
>
> It would be easier for someone to help you if you actually asked a
> question.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/fe047fd3-39e1-3eaf-eb41-05ecc54bfc34%40stacktrace.dk
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADGZiBqbJYj%3DvQ8D%2BuL3rL8hRQpxYQhr-EBsLA9ySC%3Dp3sm9uw%40mail.gmail.com.


qr init API of phone pe

2022-10-12 Thread Prerana Bhat
Hello everyone, 
So I am trying to work on a task that when the user scans the qr code it 
redirects it to the payment with the given amount.
I tried using the qr init API provided by phone pe but its showing internal 
server error. Can anyone tell me wat might be wrong
this is the docs: https://developer.phonepe.com/v2/reference/qr-init
below is my views.py file

from django.shortcuts import render
import requests

# Create your views here.
def makeqr(request):
url = "https://mercury-uat.phonepe.com/v3/qr/init;
headers = {
"accept": "application/json",
"Content-Type": "application/json",
  
}
data = {
"merchantId": "MERCHANTUAT",
"transactionId": "TX32321849644234",
"merchantOrderId": "TX32321849644234",
"amount": 1000,
"storeId": "234555",
"terminalId": "894237",
"expiresIn": 1800,
"gstBreakup": {
   "gst": 100,
   "cgst": 25,
   "cess": 25,
   "sgst": 25,
   "igst": 25,
   "gstIncentive": 100,
   "gstPercentage": 10
},
"invoiceDetails": {
"invoiceNumber": "123456f##_##",
"invoiceDate": "2021-06-29T10:13:54.022Z",
"invoiceName": "bccbd_cjdcdjc**"
}
}
response = requests.post(url,headers=headers,json=data)
print(response.text)
return render(request,"home.html")

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/88ce8708-54d0-49bd-9d88-8a496166a71en%40googlegroups.com.