The last parameter that you must configure to use the payment button, it will be the callback through which it will describe the function that will be executed the customer’s payment has been made. For this configuration copy the following code specification of the algorithm to be executed.
CryptoBucks.onPaymentReceived = function (data) { //validations to perform with the received data };
The information returned by the callback to perform the validations is the following:
{
}
At this point it is important to consider that the validations on the completeness of the payment must be programmed based on the responses of the callback, and it will be the responsibility of the merchant to take the corresponding actions according to their tolerance for the dispatch or discount of merchandise, according to the results of the same.
Fill out the form below to begin your registration process.