Paws-frontend icon indicating copy to clipboard operation
Paws-frontend copied to clipboard

Donation button is not working

Open SaurabhS55 opened this issue 1 year ago • 14 comments

Hey @codewarnab, I've checked out your website, and I must say, it's impressive! I appreciate the effort you've put into it. However, I've noticed a bug in donation page. Plzz correct me if I may getting wrong, but upon clicking donate button or any prior buttons of amount, the payment interface is not opening.

screenshots: image

I think there might be some sort of CORS issue or request header issues. So, Can we use payment gateways like stripe or razourpay. I would like to work on this issue. Could you assign this issue to me under GSSOC'24 label?

SaurabhS55 avatar May 12 '24 12:05 SaurabhS55

yes we are aware of that issue link doesn't opens in desktop but in phone redirects to UPI app you can intregate razorpay or stripe it will ask for documents i guess ? we didn't explore those alternatives yet if you want you can work on it( comment yes then i will assign you ) after you have integrated the payment gateway console log the payment details after successful payment i will create a separate issue for sending them to backed and storing them

codewarnab avatar May 12 '24 21:05 codewarnab

Yes

SaurabhS55 avatar May 12 '24 21:05 SaurabhS55

okay best of luck also try to avoid conflicts because someone already working on this page #294 you guys may coordinate with each other in discussion

codewarnab avatar May 13 '24 11:05 codewarnab

@SaurabhS55 whats the update its been a week

codewarnab avatar May 19 '24 06:05 codewarnab

Actually, last week I had my semester exams. Now, I've started working on it. I just want to ask you, which branch is deployed on production? Is it the main branch or another one? As donate button on footer is missing in main branch code.

image

SaurabhS55 avatar May 19 '24 09:05 SaurabhS55

Hey @SaurabhS55 , If you are facing problem we can work together on this issue.

kaali001 avatar May 24 '24 19:05 kaali001

Sure we can

SaurabhS55 avatar May 24 '24 19:05 SaurabhS55

Ping me on linkedin

SaurabhS55 avatar May 24 '24 19:05 SaurabhS55

Actually, last week I had my semester exams. Now, I've started working on it. I just want to ask you, which branch is deployed on production? Is it the main branch or another one? As donate button on footer is missing in main branch code.

image

after login you can see the donation tab

codewarnab avatar May 25 '24 03:05 codewarnab

@SaurabhS55 whats the update of the payment gateway ?

codewarnab avatar May 25 '24 15:05 codewarnab

Ok, till now I tried stripe and razourpay, But from Front-end it is only possible to open their payment interface where user can click on donate button and donate money. But donate 100 rs, 200 rs or 500 rs button will not work as we can't call payment intent from Front-end or if we call it will be vulnerable. So, setting money values could be possible from backend only.

SaurabhS55 avatar May 25 '24 15:05 SaurabhS55

For testing purpose should I continue with only donate button where payment interface will work independent of app. We just redirecting from donate button to interface for payment. If yes, I will do it within a day and make pr of it for review.

SaurabhS55 avatar May 25 '24 15:05 SaurabhS55

For testing purpose should I continue with only donate button where payment interface will work independent of app. We just redirecting from donate button to interface for payment. If yes, I will do it within a day and make pr of it for review.

Yup okay , take your time

codewarnab avatar May 25 '24 15:05 codewarnab

Hey @codewarnab, I just have made pr of this issue, review it once.

SaurabhS55 avatar May 30 '24 18:05 SaurabhS55