Skip to content

Commit 2aa21de

Browse files
committed
Version 2.9.6
2 parents d10087e + f0fc9a8 commit 2aa21de

81 files changed

Lines changed: 14481 additions & 13579 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.idea/
22
.sublime-gulp.cache
33
laterpay/built_assets/css
4-
laterpay/built_assets/fonts
54
laterpay/built_assets/img/*
65
# Allow PNG files inside img folder
76
!laterpay/built_assets/img/*.png
@@ -17,3 +16,4 @@ selenium-tests/*
1716
svn-working-copy/*
1817
composer.lock
1918
laterpay.zip
19+
.DS_Store

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
laterpay-wordpress-plugin
22
=========================
33

4-
This is the official LaterPay plugin for selling digital content with WordPress.
4+
This is the official Laterpay plugin for selling digital content with WordPress.
55

66
Feel free to fork the plugin and adapt it to your needs.
77

@@ -53,9 +53,9 @@ All pull requests are automatically linted with JSHint and the [.jshintrc](https
5353

5454
## Versioning
5555

56-
The LaterPay WordPress plugin uses [Semantic Versioning 2.0.0](http://semver.org)
56+
The Laterpay WordPress plugin uses [Semantic Versioning 2.0.0](http://semver.org)
5757

5858

5959
## Copyright
6060

61-
Copyright 2019 LaterPay GmbH – Released under MIT License
61+
Copyright 2020 Laterpay GmbH – Released under MIT License

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "laterpay/laterpay-wordpress-plugin",
3-
"description": "This is the official LaterPay plugin for selling digital content with WordPress",
3+
"description": "This is the official Laterpay plugin for selling digital content with WordPress",
44
"license": "MIT",
5-
"version": "2.9.5",
5+
"version": "2.9.6",
66
"config": {
77
"vendor-dir": "laterpay/vendor",
88
"secure-http": true

composer.lock

Lines changed: 17 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gulpfile.js

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ var gulp = require('gulp'),
33
plugins = require('gulp-load-plugins')(),
44
del = require('del'),
55
exec = require('child_process').exec,
6-
runSequence = require('run-sequence'),
7-
Github = require('github'),
6+
runSequence = require('gulp4-run-sequence'),
7+
Github = require('@octokit/rest'),
88
minimist = require('minimist'),
99
Q = require('q'),
1010
prompt = require('prompt'),
@@ -39,7 +39,7 @@ var gulp = require('gulp'),
3939
// OPTIONS -------------------------------------------------------------------------------------------------------------
4040
var gulpKnownOptions = {
4141
string: 'version',
42-
default: { version: '2.9.5' }
42+
default: { version: '2.9.6' }
4343
};
4444
var gulpOptions = minimist(process.argv.slice(2), gulpKnownOptions);
4545
gulpOptions.svn = {};
@@ -64,7 +64,7 @@ gulp.task('makepot', function () {
6464
return gulp.src(p.phpfiles)
6565
.pipe(wpPot( {
6666
domain: 'laterpay',
67-
package: 'LaterPay'
67+
package: 'Laterpay'
6868
} ))
6969
.pipe(gulp.dest( p.distPlugin + 'languages/' + 'laterpay.po'));
7070
});
@@ -217,12 +217,12 @@ gulp.task('sniffphp', function() {
217217

218218

219219
// COMMANDS ------------------------------------------------------------------------------------------------------------
220-
gulp.task('default', ['clean', 'img-build', 'css-watch', 'js-watch'], function() {
220+
gulp.task('default', gulp.series( 'clean', 'img-build', 'css-watch', 'js-watch', function() {
221221
// watch for changes
222-
gulp.watch(p.allfiles, ['fileformat']);
223-
gulp.watch(p.srcSCSS, ['css-watch']);
224-
gulp.watch(p.srcJS + '*.js', ['js-watch']);
225-
});
222+
gulp.watch(p.allfiles, gulp.series('fileformat'));
223+
gulp.watch(p.srcSCSS, gulp.series('css-watch'));
224+
gulp.watch(p.srcJS + '*.js', gulp.series('js-watch'));
225+
}));
226226

227227
// check code quality before git commit
228228
gulp.task('precommit-css', function() {
@@ -237,7 +237,7 @@ gulp.task('precommit-js', function() {
237237
.pipe(plugins.jshint.reporter(plugins.stylish));
238238
});
239239

240-
gulp.task('precommit', ['sniffphp', 'js-format'], function() {
240+
gulp.task('precommit', gulp.series( 'sniffphp', 'js-format', function() {
241241
var deferred = Q.defer();
242242
runSequence(['precommit-css','precommit-js'], function(error){
243243
if (error) {
@@ -248,7 +248,7 @@ gulp.task('precommit', ['sniffphp', 'js-format'], function() {
248248
}
249249
});
250250
return deferred.promise;
251-
});
251+
}));
252252

253253
// Task to run wp-scripts.
254254
gulp.task('compile-blocks', function (cb) {
@@ -260,7 +260,7 @@ gulp.task('compile-blocks', function (cb) {
260260
});
261261

262262
// build project for release
263-
gulp.task('build', ['clean'], function() {
263+
gulp.task('build', gulp.series('clean', function() {
264264
var deferred = Q.defer();
265265
runSequence(['img-build','css-build','js-build', 'compile-blocks', 'composer'], function(error){
266266
if (error) {
@@ -271,7 +271,7 @@ gulp.task('build', ['clean'], function() {
271271
}
272272
});
273273
return deferred.promise;
274-
});
274+
}));
275275

276276
// RELEASE -------------------------------------------------------------------------------------------------------------
277277

@@ -574,8 +574,14 @@ gulp.task('svn-add', function(){
574574

575575
});
576576

577+
gulp.task('svn-prompt-credentials', function(){
578+
if(!gulpOptions.svn.username || !gulpOptions.svn.password) {
579+
return promptUsernamePassword('svn');
580+
}
581+
});
582+
577583
// Run svn commit
578-
gulp.task('svn-commit', ['svn-prompt-credentials'], function(){
584+
gulp.task('svn-commit', gulp.series('svn-prompt-credentials', function(){
579585
var deferred = Q.defer();
580586
plugins.svn2.commit('Release ' + gulpOptions.version, {
581587
cwd: p.distSVN,
@@ -590,10 +596,10 @@ gulp.task('svn-commit', ['svn-prompt-credentials'], function(){
590596
}
591597
});
592598
return deferred.promise;
593-
});
599+
}));
594600

595601
// Run svn tag
596-
gulp.task('svn-tag', ['svn-prompt-credentials'], function(){
602+
gulp.task('svn-tag', gulp.series('svn-prompt-credentials', function(){
597603
var deferred = Q.defer();
598604
plugins.svn2.tag('v' + gulpOptions.version, 'Release ' + gulpOptions.version,{
599605
cwd: p.distSVN,
@@ -609,13 +615,7 @@ gulp.task('svn-tag', ['svn-prompt-credentials'], function(){
609615
}
610616
});
611617
return deferred.promise;
612-
});
613-
614-
gulp.task('svn-prompt-credentials', function(){
615-
if(!gulpOptions.svn.username || !gulpOptions.svn.password) {
616-
return promptUsernamePassword('svn');
617-
}
618-
});
618+
}));
619619

620620
// clean up all files in the target directories
621621
gulp.task('svn-clean', function(cb) {
@@ -707,7 +707,7 @@ gulp.task('release:production', function () {
707707
return deferred.promise;
708708
});
709709

710-
gulp.task('vip', ['vip-clean'], function () {
710+
gulp.task('vip', gulp.series('vip-clean', function () {
711711
var deferred = Q.defer();
712712
runSequence(
713713
'build',
@@ -726,4 +726,4 @@ gulp.task('vip', ['vip-clean'], function () {
726726
}
727727
});
728728
return deferred.promise;
729-
});
729+
}));

laterpay/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2019 LaterPay GmbH
3+
Copyright (c) 2020 LaterPay GmbH
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

laterpay/README.txt

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
=== LaterPay ===
1+
=== Laterpay ===
22

33
Contributors: laterpay, dominik-rodler, mihail-turalenka, avahura, ahryb
44
Donate link: https://laterpay.net
55
Tags: contribution, conversion, earn-money, micropayment, monetization, monetize-content, paid-content, payment, paywall, sell-article, sell-content, subscription
66
Requires at least: 4.6
7-
Tested up to: 5.4
7+
Tested up to: 5.5
88
Requires PHP: 5.6
9-
Stable tag: 2.9.4
9+
Stable tag: 2.9.6
1010
Author URI: https://laterpay.net
1111
Plugin URI: https://github.com/laterpay/laterpay-wordpress-plugin
1212
License: MIT
1313
License URI: http://opensource.org/licenses/MIT
1414

15-
Monetize your blog and content with LaterPay. We offer a frictionless transaction experience that helps you increase your revenue streams, conversion rates and online customer interactions.
15+
Monetize your blog and content with Laterpay. We offer a frictionless transaction experience that helps you increase your revenue streams, conversion rates and online customer interactions.
1616

1717
== Description ==
1818

1919
= Overview =
20-
The LaterPay WordPress plugin is a content monetization solution for your WordPress page. We enable you to collect voluntary financial contributions from your audience, sell individual pieces of content, timed access to your website or individual sections, recurring subscriptions, or ad-free access to your site.
20+
The Laterpay WordPress plugin is a content monetization solution for your WordPress page. We enable you to collect voluntary financial contributions from your audience, sell individual pieces of content, timed access to your website or individual sections, recurring subscriptions, or ad-free access to your site.
2121

2222
Our unique ‘pay later’ model takes the upfront friction out of the transaction and allows your users to access content instantly by agreeing to pay for it later.
2323

24-
You can offer content priced as low as $0.05 or 0.05€ and audiences can purchase that content with just a click or two - without having to register or provide payment until they reach a $5 or 5€ threshold on their LaterPay tab. At this point we ask them to register and pay and we have found that about 85% of users will do so. Once they become registered LaterPay users, the transactions become even more effortless - in fact, repeat purchases are 2-2.5X higher with the ‘pay later’ model over ‘pay now.’
24+
You can offer content priced as low as $0.05 or 0.05€ and audiences can purchase that content with just a click or two - without having to register or provide payment until they reach a $5 or 5€ threshold on their Laterpay tab. At this point we ask them to register and pay and we have found that about 85% of users will do so. Once they become registered Laterpay users, the transactions become even more effortless - in fact, repeat purchases are 2-2.5X higher with the ‘pay later’ model over ‘pay now.’
2525

2626
Although we recommend using the ‘pay later’ model because of the results mentioned above, you are of course free to choose the ‘pay now’ model if it better suits your needs. [Read more about the difference between ‘pay later’ and ‘pay now’.](https://www.laterpay.net/academy/getting-started-with-laterpay-the-difference-between-pay-now-pay-later)
2727

28-
The LaterPay WordPress plugin is easy to implement and offers a user interface that gives you complete control over pricing, look and feel, as well as the features you choose to use.
28+
The Laterpay WordPress plugin is easy to implement and offers a user interface that gives you complete control over pricing, look and feel, as well as the features you choose to use.
2929

3030
= Our core features include: =
3131
* Single post sales
@@ -37,7 +37,7 @@ The LaterPay WordPress plugin is easy to implement and offers a user interface t
3737
* Pay later option
3838
* Pay now option
3939

40-
= LaterPay will handle: =
40+
= Laterpay will handle: =
4141
* Transaction validation
4242
* Chargebacks and disputes
4343
* Tracking
@@ -47,7 +47,7 @@ The LaterPay WordPress plugin is easy to implement and offers a user interface t
4747

4848
= What it costs you: =
4949

50-
LaterPay is performance-based and works on a revenue sharing basis - for a limited time we’re charging a rate of 15% of actual revenue generated with LaterPay, ALL-INCLUSIVE.
50+
Laterpay is performance-based and works on a revenue sharing basis - for a limited time we’re charging a rate of 15% of actual revenue generated with Laterpay, ALL-INCLUSIVE.
5151

5252
* No payment processing fees
5353
* No chargeback fees
@@ -56,19 +56,19 @@ LaterPay is performance-based and works on a revenue sharing basis - for a limit
5656
* No maintenance fees
5757

5858
= Documentation and instructions: =
59-
* [Getting Started with the LaterPay WordPress Plugin](https://www.laterpay.net/academy/getting-started-with-the-laterpay-wordpress-plugin)
59+
* [Getting Started with the Laterpay WordPress Plugin](https://www.laterpay.net/academy/getting-started-with-the-laterpay-wordpress-plugin)
6060
* [Charge for Downloadable Content](https://www.laterpay.net/academy/how-to-charge-for-downloadable-content-in-the-laterpay-wordpress-plugin)
6161
* [Create a Subscription Button](https://www.laterpay.net/academy/how-to-create-a-subscription-button-in-the-laterpay-wordpress-plugin)
6262

6363

6464
== Frequently Asked Questions ==
6565

6666
= Contextual Help =
67-
The LaterPay WordPress Plugin supports contextual help, so you will have all the information at hand right where and
67+
The Laterpay WordPress Plugin supports contextual help, so you will have all the information at hand right where and
6868
when you need it. Contextual help for the current page is available via the ‘Help’ tab on the top of the respective page.
6969

7070
= Knowledge Base =
71-
You can find further information about LaterPay and the LaterPay WordPress plugin in the [LaterPay Knowledge Base](https://www.laterpay.net/academy).
71+
You can find further information about Laterpay and the Laterpay WordPress plugin in the [Laterpay Knowledge Base](https://www.laterpay.net/academy).
7272

7373
= Is this plugin crawler friendly? =
7474

@@ -81,15 +81,21 @@ Yes!
8181

8282
== Screenshots ==
8383

84-
1. The LaterPay WordPress plugin lets you easily configure a paywall to monetize content on your site.
84+
1. The Laterpay WordPress plugin lets you easily configure a paywall to monetize content on your site.
8585
2. In the WordPress editor, you can set a static or dynamic price for your posts, pages and other content types as well as utilize our custom blocks to take advantage of additional features.
8686
3. On the Paywall tab, you can set default prices for the entire website or specific categories. You can create time passes to offer time-limited access to all your content or a category, or even offer subscriptions.
8787
4. Visit the Appearance tab to customize the layout of your paywall or customize colors to ensure that your product offerings blend seamlessly with your brand.
8888
5. Use the Contributions tab to create a contributions dialog or button to request support from your followers in just a few clicks.
89-
6. Use the Account tab to link the plugin to your LaterPay account, switch between test and live mode, and choose your currency ($ or €).
90-
7. The plugin provides a variety of advanced settings to customize the LaterPay plugin and adjust it to your needs.
89+
6. Use the Account tab to link the plugin to your Laterpay account, switch between test and live mode, and choose your currency ($ or €).
90+
7. The plugin provides a variety of advanced settings to customize the Laterpay plugin and adjust it to your needs.
9191

9292
== Changelog ==
93+
= 2.9.6 ( August 25, 2020 ) =
94+
* Updated Laterpay logo.
95+
* Updated 'Tested up to' tag to WordPress 5.5.
96+
* Fixed minor issue with Contributions not rendering correct amounts in EU.
97+
* Fixed issue when dynamic pricing sliders were not working properly because of overlapping element.
98+
9399
= 2.9.5 ( May 28, 2020 ) =
94100
* Added proper validation for custom voucher codes.
95101
* Fixes minor issue with cache validation message.
@@ -714,6 +720,9 @@ KNOWN BUGS:
714720

715721
== Upgrade notice ==
716722

723+
= 2.9.6 =
724+
Updated Laterpay logo and compatibility with WordPress 5.5.
725+
717726
= 2.9.5 =
718727
Added proper validation for custom voucher codes.
719728

0 commit comments

Comments
 (0)