Skip to content

Commit

Permalink
appsero tracker added
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilpaul committed Jun 25, 2020
1 parent 5e0c552 commit a294cf3
Show file tree
Hide file tree
Showing 5 changed files with 211 additions and 22 deletions.
80 changes: 65 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,84 @@
=== DC EDD bKash Payment ===
## DC EDD bKash Payment

Contributors: Kapil Paul
Contributors: kapilpaul\
Donate link: https://kapilpaul.me\
Tags: bkash, bdt, bangladesh, bd payment gateway, edd\
Requires at least: 4.0\
Tested up to: 5.4\
Stable tag: trunk\
Requires PHP: 5.6\
License: GPLv2 or later\
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Donate link: https://kapilpaul.me
##
bKash payment gateway for Easy Digital Downloads.
##

Tags:

Requires at least: 4.0
### Description

Tested up to: 5.4
= BKASH PAYMENT METHOD FOR EDD =

Stable tag: trunk
bKash payment gateway for Easy Digital Downloads. You can receive payment via bKash.

Requires PHP: 5.6

License: GPLv2 or later
= Installation Guide =

License URI: https://www.gnu.org/licenses/gpl-2.0.html
1. After activate the plugin you need to go to Easy Digital Downloads settings for payments. Here you can see bKash as a payment method. Enable this and open settings for this payment method.
2. Collect your USERNAME, PASSWORD, APP_KEY, APP_SECRET from bKash. Place this in here and you are able to collect your payment.

bKash payment gateway for Easy Digital Downloads.

== Description ==
[youtube](https://www.youtube.com/watch?v=D6PshwPDN-s)

bKash payment gateway for Easy Digital Downloads.

## Privacy Policy
DC EDD bKash Payment uses [Appsero](https://appsero.com) SDK to collect some telemetry data upon user's confirmation. This helps us to troubleshoot problems faster & make product improvements.

Appsero SDK **does not gather any data by default.** The SDK only starts gathering basic telemetry data **when a user allows it via the admin notice**. We collect the data to ensure a great user experience for all our users.

Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without confirmation from users in any case.**

Learn more about how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).



[Fork in Github](https://github.com/kapilpaul/edd-bkash-gateway)

== Installation ==

//plugin installation guide
1. After activate the plugin you need to go to Easy Digital Downloads settings for payments. Here you can see bKash as a payment method. Enable this and open settings for this payment method.
2. Collect your USERNAME, PASSWORD, APP_KEY, APP_SECRET from bKash. Place this in here and you are able to collect your payment.



== Frequently Asked Questions ==

= Do I need bKash credentials? =

Yes. You need bKash USERNAME, PASSWORD, APP_KEY and APP_SECRET.

= How do I get credentials? =

You may contact with bKash support 16247.

= Is this a plug and play plugin? =

Yes. Follow the installation process and you are good to go.


== Screenshots ==

1. Admin panel payment methods list
2. Admin panel bKash payment method settings
3. Order details data
4. bKash as a payment method
5. bkash main payment
6. bkash Payment List


== Changelog ==

= 1.0.1 =
* Appsero tracker added

= 1.0.0 =
* Initial release
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
}
],
"minimum-stability": "dev",
"require": {},
"require": {
"appsero/client": "dev-master"
},
"autoload": {
"psr-4": {
"DC\\EDD\\Bkash\\": "includes/"
Expand Down
62 changes: 62 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 20 additions & 1 deletion dc-edd-bkash-payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: DC EDD bKash Payment
Plugin URI: https://kapilpaul.me/portfolios/plugins/dc-edd-bkash-payment
Description: bKash payment gateway for Easy Digital Downloads.
Version: 1.0.0
Version: 1.0.1
Author: Kapil Paul
Author URI: https://kapilpaul.me
License: GPLv2
Expand Down Expand Up @@ -281,6 +281,22 @@ private function is_request( $type ) {

} // DCoders_EDD_Bkash

/**
* Initialize the plugin tracker
*
* @return void
*/
function appsero_init_tracker_dc_edd_bkash_payment() {
if ( ! class_exists( 'Appsero\Client' ) ) {
require_once __DIR__ . '/appsero/src/Client.php';
}

$client = new Appsero\Client( 'fa9d6616-532a-46c1-84f9-1e2d4d9bdb15', 'DC EDD bKash Payment', __FILE__ );

// Active insights
$client->insights()->init();
}

/**
* Initialize the main plugin
*
Expand All @@ -294,3 +310,6 @@ function dcoders_edd_bkash() {
* kick-off the plugin
*/
dcoders_edd_bkash();

//kick off the tracker
appsero_init_tracker_dc_edd_bkash_payment();
66 changes: 61 additions & 5 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
=== DC EDD bKash Payment ===
Contributors: Kapil Paul
Contributors: kapilpaul
Donate link: https://kapilpaul.me
Tags:
Tags: bkash, bdt, bangladesh, bd payment gateway, edd
Requires at least: 4.0
Tested up to: 5.4
Stable tag: trunk
Expand All @@ -13,13 +13,69 @@ bKash payment gateway for Easy Digital Downloads.

== Description ==

bKash payment gateway for Easy Digital Downloads.
= BKASH PAYMENT METHOD FOR EDD =

bKash payment gateway for Easy Digital Downloads. You can receive payment via bKash.


= Installation Guide =

1. After activate the plugin you need to go to Easy Digital Downloads settings for payments. Here you can see bKash as a payment method. Enable this and open settings for this payment method.
2. Collect your USERNAME, PASSWORD, APP_KEY, APP_SECRET from bKash. Place this in here and you are able to collect your payment.


[youtube https://www.youtube.com/watch?v=D6PshwPDN-s]


## Privacy Policy
DC EDD bKash Payment uses [Appsero](https://appsero.com) SDK to collect some telemetry data upon user's confirmation. This helps us to troubleshoot problems faster & make product improvements.

Appsero SDK **does not gather any data by default.** The SDK only starts gathering basic telemetry data **when a user allows it via the admin notice**. We collect the data to ensure a great user experience for all our users.

Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without confirmation from users in any case.**

Learn more about how [Appsero collects and uses this data](https://appsero.com/privacy-policy/).



[Fork in Github](https://github.com/kapilpaul/edd-bkash-gateway)

== Installation ==

//plugin installation guide
1. After activate the plugin you need to go to Easy Digital Downloads settings for payments. Here you can see bKash as a payment method. Enable this and open settings for this payment method.
2. Collect your USERNAME, PASSWORD, APP_KEY, APP_SECRET from bKash. Place this in here and you are able to collect your payment.



== Frequently Asked Questions ==

= Do I need bKash credentials? =

Yes. You need bKash USERNAME, PASSWORD, APP_KEY and APP_SECRET.

= How do I get credentials? =

You may contact with bKash support 16247.

= Is this a plug and play plugin? =

Yes. Follow the installation process and you are good to go.


== Screenshots ==

1. Admin panel payment methods list
2. Admin panel bKash payment method settings
3. Order details data
4. bKash as a payment method
5. bkash main payment
6. bkash Payment List


== Changelog ==

= 1.0.1 =
* Appsero tracker added

= 1.0.0 =
* Initial release
* Initial release

0 comments on commit a294cf3

Please sign in to comment.