View Single Post
Old 08-16-2022, 04:51 PM  
LaSexorcisto
Confirmed User
 
LaSexorcisto's Avatar
 
Industry Role:
Join Date: Mar 2022
Location: In the moment
Posts: 95
Quote:
Originally Posted by CurrentlySober View Post
i've installed btc pay server and i'm trying to make it direct to a secure webpage after payment has been processed.

The problem is that i can find plenty of resources that give me examples of what a webhook's raw data looks like, how ever i can't find for the love of me any example of js (or some other language) that "reads" the data so that it can be presented in a user friendly way on a webpage.
He might be mistaken a postback for a webhook. In either case my last response answers his questions.

If he's looking to read POST data in JavaScript client-side, it can't be done. That's why he can't find examples.

https://stackoverflow.com/questions/...ing-javascript

Learn Node
LaSexorcisto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote