You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I'm working on a GoURL SDK for NodeJs and I've been able to successfully implement the get_json_values() (named createPayment() in the code) method that starts the payment process. Now, I'm trying to implement the check_payment_live() (named checkPaymentStatus()) to allow the user directly check the status of his/her payment on demand. But each time I make a POST request to the https://coins.gourl.io/result.php route with the required data parsed as a query string, I get the following response:
This NodeJs implementation doesn't attempt to store/use sessions or store the data in any database. It only provides the user the JSON data returned from the GoUrl server. I don't know why I keep getting the Invalid data submitted error. The data I send in the POST request to check payment status matches the data I send when initiating the payment in the first place. Please, I need help to understand what I'm not doing right.
Hi. I'm working on a GoURL SDK for NodeJs and I've been able to successfully implement the
get_json_values()
(namedcreatePayment()
in the code) method that starts the payment process. Now, I'm trying to implement thecheck_payment_live()
(namedcheckPaymentStatus()
) to allow the user directly check the status of his/her payment on demand. But each time I make a POST request to thehttps://coins.gourl.io/result.php
route with the required data parsed as a query string, I get the following response:Here is the data that gets converted to a query string and sent in the request:
Below is the implementation:
This NodeJs implementation doesn't attempt to store/use sessions or store the data in any database. It only provides the user the JSON data returned from the GoUrl server. I don't know why I keep getting the
Invalid data submitted
error. The data I send in the POST request to check payment status matches the data I send when initiating the payment in the first place. Please, I need help to understand what I'm not doing right.This is the link to the repo: https://github.com/steveify1/node-gourl/tree/ft-check-payment-status-%2326.
The link to the Cyptobox class: https://github.com/steveify1/node-gourl/blob/ft-check-payment-status-%2326/lib/Cryptobox.ts
I understand that this is the repo for the PHP implementation, but I couldn't send a DM on twitter. Thanks.
The text was updated successfully, but these errors were encountered: