Are there any examples of how to use this API?
I tried this:
var paywhirl = require('paywhirljs')( {
api_key: Meteor.settings.public.paywhirl_api_key,
api_secret: Meteor.settings.paywhirl_secret_key
});
and
import 'paywhirljs';
var paywhirl = new PayWhirl({
api_key: Meteor.settings.public.paywhirl_api_key,
api_secret: Meteor.settings.paywhirl_secret_key
});
But neither one is working.
Are there any examples of how to use this API?
I tried this:
and
But neither one is working.