This is integration how does build payment experiences using Perl code. We provide powerful and customizable UI screens and elements that can be used connects to the Paytrail REST API.
You can see this demo app running in test mode on kliffa-paytrail-api-demo.com.
Perl 5 or higher.
libcurl perl-WWW-Curl perl-JSON
yum -y install libcurl perl-WWW-Curl perl-JSON
wget https://cpan.metacpan.org/authors/id/M/MI/MIK/CryptX-0.077.tar.gz
gzip -d CryptX-0.077.tar.gz
tar xvf CryptX-0.077.tar
cd CryptX-0.077
perl Makefile.PL
make
make install
To initialize Paytrail in your Perl code. Default payment credentials are test accounts.
Paytrail.pm
file:
my $secret_key = "SAIPPUAKAUPPIAS"; # Paytrail secret key.
my $account_id = "375917"; # Paytrail Merchant ID.
Calls own website page to create.html
page.
Read more Paytrail Payment REST API for https://docs.paytrail.com/#/?id=paytrail-payment-api
Contributions are welcome. Open an issue first before sending in a pull request. All pull requests review before they are merged to master.
Please contact: [email protected] .
Member Name | GitHub Alias | Company | Role |
---|---|---|---|
Saku Pakkanen | [@spakkanen] (https://github.com/spakkanen) | [Kliffa Innovations Oy] (https://kliffa.fi/en/) | Committer |