how can i send a request to specific route in trpc server, after mutation ?
i am using trpc with next js ,
4 Replies
Can you share some more detail on what you’re trying to achieve?
Actually I am using stripe on trpc server , and after I get a success_url from it I wanted to send a request to
/api/contact
Just for follow up we can only add one url to success_url , given by stipe
so i kind of did it , but can you tell me if it is good approach or not
Is this in the procedure on your backend? That does sound like the best way
Yes it is inside a mutation , and after I get a success url from stripe