/meteor-paymill

JS paymill library carefully packaged for Meteor

Primary LanguageJavaScript

Paymill

This package wraps both the official paymill JS npm package (server-side) as well as the paymill bridge (client-side).

Usage

Server

First initialise the paymill context with your private developer key:

var pmc = Paymill.getContext(yourApiKey);

All endpoints of the Paymill API have a corresponding service in the context object (for example the transaction functions are now available under pmc.transactions).

For all available services and methods consult the documentation of the npm package and the API docs.

Client

Just follow the official guidelines. You can skip the first step, as it is already taken care of inside this package. The namespace under which the bridge methods are available is "paymill", the same as in the documentation.

Changelog

0.0.4: Using planifica/paymill-js fork for better paypal integration (checksum with clientId and action) until the changes are implemented or merged back into original repository.