I am using google cloud functions to execute the node.js code which creates a payment-intent and passes the client-secret to the client (i.e browser) in this case. However when a payment is completed i am getting ip address of google's server which are most likely hosting the code of google cloud functions.
I need to pass the ip address of the browser somehow so that client who is making the payment's ip address is visible and not the ip address of google's server. I tried looking into stripe's documentation but cannot find any way on how to achieve this. Note: It is recommended to create payment intent on server side and not on client side by stripe.
