> EPay.bg Payments wordpress plugin resources analysis

EPay.bg Payments wordpress plugin resources analysis

Download This Plugin
Download Elegant Themes
Name EPay.bg Payments
Version 0.1
Author vloo
Rating 0
Last updated 2015-02-03 09:13:00
Downloads
30
Download Plugins Speed Test plugin for Wordpress

Home page

Delta: 0%

Post page

Delta: 0%
EPay.bg Payments plugin has no negative impact on PageSpeed score.

Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%

EPay.bg Payments plugin added 8 bytes of resources to the Home page and 19 bytes of resources to the sample Post page.

EPay.bg Payments plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.

Great! EPay.bg Payments plugin ads no tables to your Wordpress blog database.

The plugin allows you to create a button for making a payment through epay.bg (a Bulgarian service). The button can be added in any page or post, using a shortcode. Parameters that you can define in the shortcode are:

  • url of the payment gateway (ePay got a sandbox and a live urls, that can be used);
  • merchant secret (you get one when you register at their site);
  • mercant key, a.k.a. MIN (also received after registration);
  • amount of the payment in BGN currency;
  • expiration date for the time till when the system will be expecting a payment from the client;
  • description of the payment;
  • redirection url for when a payment is successfully completed;
  • redirection url for when a payment is cancelled;
  • label on the submit button;

The plugin supports localization and has about 4-5 strings, so it will be pretty easy for anyone to localize it with Codestyling Localization plugin or POEdit tool.

Example

[epay sum="50" secret="THIS_IS_THE_SECRET" expdate="01.08.2020" submiturl="https://devep2.datamax.bg/ep2/epay2_demo/" min="MERCHANT_ID" descr="YOU PAY ME FOR THIS" failurl="http://yoursite.com/fail" successurl=" http://yoursite.com/success" btnlabel="Proceed to ePay"]

TODO

  • Rethink the invoice id thingy (currently giving a random 10-digit number);
  • Make a flag arg for demo/live payment gateway (currently there is an arguement for the gateway url);
  • Validation of the arguements (none currently);
  • Set default values (some of the args shouldn't be required);

Any ideas for additional features are welcome!

GitHub Repo

Here it is: https://github.com/vlood/ePay.bg-Payments-Plugin

Resources added by plugin to Home page/Post page in kB
Total size of resources for Home page/Post page in kB
Random Theme Tests
Ever Watchful screenshot

Ever Watchful

by: Nitallica

6503
0%
Liberty screenshot

Liberty

by: liberty50

4645
0%