Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 628 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 628 Bytes

Unofficial Paysera checkout implementation

This library is based on and checked against the PHP implementation.

API

Currently the library supports only two methods.

  • encodePaymentRequest(options) - returns the encoded request data and a signature that can be sent to Paysera.
  • decodePaymentResponseQuery(query) - returns the decoded payment notification object. Query is the query string sent by Paysera. By default, the library checks both signatures.