Mollie::Micropayment

Mollie::Micropayment is a Perl API for Mollie's Micropayment service.
Download

Mollie::Micropayment Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • C. Kras
  • Publisher web site:
  • http://search.cpan.org/~ckras/Mollie-Micropayment-0.03/lib/Mollie/Micropayment.pm

Mollie::Micropayment Tags


Mollie::Micropayment Description

Mollie::Micropayment is a Perl API for Mollie's Micropayment service. Mollie::Micropayment is a Perl API for Mollie's Micropayment service.SYNOPSIS # Basic setup. Example included that fully handles payment use Mollie::Micropayment; my $mollie = new Mollie::Micropayment; $mollie->partnerid(10000); # Set your account ID $mollie->amount(0.50); # Set the amount to pay (EUR 0.50) $mollie->country(31); # Set the country code (Netherlands) # Handle payment $mollie->checkpayment() if ($mollie->is_payed() eq "true") { print 'User payed succesfully!'; } else { print 'payment is not (fully) done, send the user back to the payment-screen'; } # Show payment screen if ($mollie->is_payed() eq "false" && $mollie->payinfo()) { # print information about how to pay and put a submit button here. Look at included example } else { print 'Unable to fetch payment info'; } Requirements: · Perl


Mollie::Micropayment Related Software