In case of any problem that the buyer user may experience during the routing after the payment transaction, it may not enter your system even if the transaction is successful. With the use of webhook, successful transactions are transmitted directly to the webhook address you specify via Paymes servers.


paymesOrderId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" //Unique transaction id sent by Paymes
orderId = ""; //order id that gived bu user
type = ""; // gets "success" or "error"
message = "";
price = "";
currency = "TRY";
hash = "";

Hash Check

Hash is obtained by concatenating the following parameters as string, hashing with SHA512 and encoding the result in base64 type
paymesOrderId + orderId + type + message + price + currency + secret
Copy link
On this page