Skip to content

Commit

Permalink
Version 2.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasstark committed Aug 25, 2020
2 parents d10087e + f0fc9a8 commit 2aa21de
Show file tree
Hide file tree
Showing 81 changed files with 14,481 additions and 13,579 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.idea/
.sublime-gulp.cache
laterpay/built_assets/css
laterpay/built_assets/fonts
laterpay/built_assets/img/*
# Allow PNG files inside img folder
!laterpay/built_assets/img/*.png
Expand All @@ -17,3 +16,4 @@ selenium-tests/*
svn-working-copy/*
composer.lock
laterpay.zip
.DS_Store
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
laterpay-wordpress-plugin
=========================

This is the official LaterPay plugin for selling digital content with WordPress.
This is the official Laterpay plugin for selling digital content with WordPress.

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

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

## Versioning

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


## Copyright

Copyright 2019 LaterPay GmbH – Released under MIT License
Copyright 2020 Laterpay GmbH – Released under MIT License
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "laterpay/laterpay-wordpress-plugin",
"description": "This is the official LaterPay plugin for selling digital content with WordPress",
"description": "This is the official Laterpay plugin for selling digital content with WordPress",
"license": "MIT",
"version": "2.9.5",
"version": "2.9.6",
"config": {
"vendor-dir": "laterpay/vendor",
"secure-http": true
Expand Down
34 changes: 17 additions & 17 deletions composer.lock

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

50 changes: 25 additions & 25 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ var gulp = require('gulp'),
plugins = require('gulp-load-plugins')(),
del = require('del'),
exec = require('child_process').exec,
runSequence = require('run-sequence'),
Github = require('github'),
runSequence = require('gulp4-run-sequence'),
Github = require('@octokit/rest'),
minimist = require('minimist'),
Q = require('q'),
prompt = require('prompt'),
Expand Down Expand Up @@ -39,7 +39,7 @@ var gulp = require('gulp'),
// OPTIONS -------------------------------------------------------------------------------------------------------------
var gulpKnownOptions = {
string: 'version',
default: { version: '2.9.5' }
default: { version: '2.9.6' }
};
var gulpOptions = minimist(process.argv.slice(2), gulpKnownOptions);
gulpOptions.svn = {};
Expand All @@ -64,7 +64,7 @@ gulp.task('makepot', function () {
return gulp.src(p.phpfiles)
.pipe(wpPot( {
domain: 'laterpay',
package: 'LaterPay'
package: 'Laterpay'
} ))
.pipe(gulp.dest( p.distPlugin + 'languages/' + 'laterpay.po'));
});
Expand Down Expand Up @@ -217,12 +217,12 @@ gulp.task('sniffphp', function() {


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

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

gulp.task('precommit', ['sniffphp', 'js-format'], function() {
gulp.task('precommit', gulp.series( 'sniffphp', 'js-format', function() {
var deferred = Q.defer();
runSequence(['precommit-css','precommit-js'], function(error){
if (error) {
Expand All @@ -248,7 +248,7 @@ gulp.task('precommit', ['sniffphp', 'js-format'], function() {
}
});
return deferred.promise;
});
}));

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

// build project for release
gulp.task('build', ['clean'], function() {
gulp.task('build', gulp.series('clean', function() {
var deferred = Q.defer();
runSequence(['img-build','css-build','js-build', 'compile-blocks', 'composer'], function(error){
if (error) {
Expand All @@ -271,7 +271,7 @@ gulp.task('build', ['clean'], function() {
}
});
return deferred.promise;
});
}));

// RELEASE -------------------------------------------------------------------------------------------------------------

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

});

gulp.task('svn-prompt-credentials', function(){
if(!gulpOptions.svn.username || !gulpOptions.svn.password) {
return promptUsernamePassword('svn');
}
});

// Run svn commit
gulp.task('svn-commit', ['svn-prompt-credentials'], function(){
gulp.task('svn-commit', gulp.series('svn-prompt-credentials', function(){
var deferred = Q.defer();
plugins.svn2.commit('Release ' + gulpOptions.version, {
cwd: p.distSVN,
Expand All @@ -590,10 +596,10 @@ gulp.task('svn-commit', ['svn-prompt-credentials'], function(){
}
});
return deferred.promise;
});
}));

// Run svn tag
gulp.task('svn-tag', ['svn-prompt-credentials'], function(){
gulp.task('svn-tag', gulp.series('svn-prompt-credentials', function(){
var deferred = Q.defer();
plugins.svn2.tag('v' + gulpOptions.version, 'Release ' + gulpOptions.version,{
cwd: p.distSVN,
Expand All @@ -609,13 +615,7 @@ gulp.task('svn-tag', ['svn-prompt-credentials'], function(){
}
});
return deferred.promise;
});

gulp.task('svn-prompt-credentials', function(){
if(!gulpOptions.svn.username || !gulpOptions.svn.password) {
return promptUsernamePassword('svn');
}
});
}));

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

gulp.task('vip', ['vip-clean'], function () {
gulp.task('vip', gulp.series('vip-clean', function () {
var deferred = Q.defer();
runSequence(
'build',
Expand All @@ -726,4 +726,4 @@ gulp.task('vip', ['vip-clean'], function () {
}
});
return deferred.promise;
});
}));
2 changes: 1 addition & 1 deletion laterpay/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2019 LaterPay GmbH
Copyright (c) 2020 LaterPay GmbH

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
39 changes: 24 additions & 15 deletions laterpay/README.txt
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
=== LaterPay ===
=== Laterpay ===

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

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.
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.

== Description ==

= Overview =
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.
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.

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.

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.’
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.’

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)

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.
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.

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

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

= What it costs you: =

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.
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.

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

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


== Frequently Asked Questions ==

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

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

= Is this plugin crawler friendly? =

Expand All @@ -81,15 +81,21 @@ Yes!

== Screenshots ==

1. The LaterPay WordPress plugin lets you easily configure a paywall to monetize content on your site.
1. The Laterpay WordPress plugin lets you easily configure a paywall to monetize content on your site.
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.
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.
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.
5. Use the Contributions tab to create a contributions dialog or button to request support from your followers in just a few clicks.
6. Use the Account tab to link the plugin to your LaterPay account, switch between test and live mode, and choose your currency ($ or €).
7. The plugin provides a variety of advanced settings to customize the LaterPay plugin and adjust it to your needs.
6. Use the Account tab to link the plugin to your Laterpay account, switch between test and live mode, and choose your currency ($ or €).
7. The plugin provides a variety of advanced settings to customize the Laterpay plugin and adjust it to your needs.

== Changelog ==
= 2.9.6 ( August 25, 2020 ) =
* Updated Laterpay logo.
* Updated 'Tested up to' tag to WordPress 5.5.
* Fixed minor issue with Contributions not rendering correct amounts in EU.
* Fixed issue when dynamic pricing sliders were not working properly because of overlapping element.

= 2.9.5 ( May 28, 2020 ) =
* Added proper validation for custom voucher codes.
* Fixes minor issue with cache validation message.
Expand Down Expand Up @@ -714,6 +720,9 @@ KNOWN BUGS:

== Upgrade notice ==

= 2.9.6 =
Updated Laterpay logo and compatibility with WordPress 5.5.

= 2.9.5 =
Added proper validation for custom voucher codes.

Expand Down
Loading

0 comments on commit 2aa21de

Please sign in to comment.