---
title: "Comment by Abdur Rahman on \"Razorpay integration in React\" | Hashnode"
description: "I have a doubt I have multiple price Cards I use firebase as my database how to send the price amount to backend when I click the button thanks in advance"
url: "https://hashnode.com/posts/razorpay-integration-in-react/60106855b5b03f4bf00e417e/comment/625cfd28740c26066de65690"
---

[Discussion](https://hashnode.com/posts/razorpay-integration-in-react/60106855b5b03f4bf00e417e)

Comment [Razorpay integration in React](https://hashnode.com/posts/razorpay-integration-in-react/60106855b5b03f4bf00e417e)

[Abdur Rahman](https://hashnode.com/@Abu2k)

[Apr 18, 2022](https://hashnode.com/posts/razorpay-integration-in-react/60106855b5b03f4bf00e417e/comment/625cfd28740c26066de65690)

I have a doubt I have multiple price Cards I use firebase as my database how to send the price amount to backend when I click the button thanks in advance

[Anirudh Jwala](https://hashnode.com/@theJwala)

[Nov 12, 2022](https://hashnode.com/posts/razorpay-integration-in-react/60106855b5b03f4bf00e417e/comment/625cfd28740c26066de65690#reply-637001c2156201257c945d9f)

Hi Abdur, sorry this is really late reply. The ideal way is never send the price amount to backend. Rather send selected courseId by the user and fetch it's corresponding amount directly from the Collection snapshot
