Voyado Elevate 3 RESTful API includes two different payment notification methods. The recommended notification method to use is Secure payment notification.
Server side operation only
The payment notification with cost can not be made as a client side operation with the JavaScript library.
The secure payment notification is to be sent when the visitor has placed an order of one or more products and completed payment. Secure payment notifications are payment notifications using a security token to ensure the notification has not been tampered with by a third party. If the parameter paymentToken is not submitted, the request will be considered as not secure and will be rejected if a cost is specified. In fact, cost can only be notified in secure payments.
The unique key of the product. Not mandatory when variantKey is set.
shirt_79709
variantKey
string
The unique key of the variant. Not mandatory when productKey is set.
shirt_blue_79709
quantity
int
The quantity of the purchased product.
2
sellingPrice
double
The selling price of the purchased product.
20.0
cost
double
The cost of the purchased product. It should be a non-zero value less than the sellingPrice. If the cost is not available, cost should not be included in the notification.
15.2
paymentToken
string
Unique token generated by stringifying the payment object and signing it with the MessageAuthentication class. For more information, see Payment tokens.
This online publication is intellectual property of Voyado Lund AB. Its contents can be duplicated in part or whole, provided that a copyright label is visibly located on each copy and the copy is used in conjunction with the product described within this document.
All information found in these documents has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither Voyado Lund AB nor the authors shall be held liable for possible errors or the consequences thereof.
Software and hardware descriptions cited in these documents might be registered trademarks. All trade names are subject to copyright restrictions and may be registered trademarks. Voyado Lund AB essentially adheres to the manufacturer’s spelling. Names of products and trademarks appearing in this document, with or without specific notation, are likewise subject to trademark and trade protection laws and may thus fall under copyright restrictions.