Giter VIP home page Giter VIP logo

laterpay-typo3-extension's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laterpay-typo3-extension's Issues

Debugger

As an admin,
I should see a debugger pane in test mode (see #12) that renders all relevant environment variables, plugin configuration, and information regarding code flow,
so I can analyze bugs and integration problems.

Time passes

As an admin,
I should be able to create time passes, that grant access to the entire site or one selected category for a selected duration at a selected price (either as Pay-per-Use or Single Sale purchase),
so I can sell multiple pieces of content as a bundle for a limited amount of time (similar to a subscription, but without automatic renewal).

Preview and full access to paid content

As a user,
I should see a preview version of the content plus a purchase button before I have purchased a piece of paid content and only get full access to the content after I have completed the purchase,
so I can get an impression of the premium content before purchase.

The preview content should be defined manually in an additional “teaser content” field that is integrated with the add / edit content page.

Teaser content is shortened

The customer just reported, that the teaser (the text from the teaser text input, not the text under the overlay) is shortened: Only 10% of what's defined as teaser is actually displayed, followed by "...".
It seems, that for the teaser, the same length rules are applied as for the text under the overlay.
The correct behaviour would be, that the teaser is displayed in it's full length and only the text under the overlay follows the rules definded in the "Appearance" section.

@mturalenka Could you please have a look and assign accordingly?

Post-specific pricing

As an admin,
I should be able to set individual prices for each piece of content in the Pay-per-Use and Single Sale revenue model,
so I have full flexibility in pricing my content.

Fatal error on teaser save

Fatal error: Can't use function return value in write context in /var/www/typo3/typo3conf/ext/laterpay/lib/hook/class.tx_field_checker.php on line 66

Caching compatibility

The extension should offer a caching compatible mode that recognizes popular caching solutions that cache data or entire HTML pages and can be manually switched into caching compatible mode from its settings page.
In caching compatible mode it should render only the preview content of paid content and check via Ajax, if a user has bought that piece of content and render that to the user.

Replace dummy functions

Replace dummy functions such as get_option(), update_option(), etc. by correctly named class methods

Automatic teaser content generation

The extension should automatically generate teaser content for paid content that does not have any teaser content defined by extracting a defined amount from the full content.
The automatic extraction should be defined by three parameters:

  • percentage of content -> percentage of content to be extracted (values: 1-100); 20 means "extract 20% of the total number of words of the post"
  • minimum word count -> MINimum number of words; applied if number of words as percentage of the total number of words is less than this value
  • maximum word count -> MAXimum number of words; applied if number of words as percentage of the total number of words is greater than this value

Capabilities for users with role "editor"

Everything else unchanged, users with role "editor" should be able to

  • make content paid content (i.e. set a price for it) and
  • preview paid content as it appears for visitors or admins

Error Notice when setting Single Sale (SIS) price

When I try to set a price of 6.00 with the revenue model SIS, I get the following error notice:

102: These fields are not properly updated in database: (laterpay_price) Probably value mismatch with fieldtype.

User role concept

The extension should have an authorization concept that grants specific viewing and editing rights to users based on their user role.

Release mechanism

The extension should support the standard TYPO3 update and release process, so updates can be distributed in a standard way.

Feed handling

As a user, admin, or crawler,
I should be able to view (RSS) feeds of the site, but only see an excerpt of the full content for paid content,
so I can stay updated on new content.

Code formatting

currently a lot of places where code is not aligned well, spaces amount are wrong etc
additional task:

  • update phpcs rules to check these issues

Default price for new content should be 0.00

Our customer said, that it would be good, if the default value in the price input for new content is 0.25 – They would prefer it to be 0.00, as most of the new content they create is free. So we should change the default value to 0.00

@mturalenka Could you please have a look and assign the ticket?

Logger + Dashboard

As an admin,
I should be able to view detailed statistics about page views, conversion rates, sales, and revenue,
so I can analyze the performance of my paid content.

The extension should track unique visitors and log all details about page views and purchases in a database table.

Add cache.php file to repo

to avoid issues with folders permissions to create cache file we need to distribute it by default with extension

Crawler handling

The extension should detect user agents that can not handle forwarding and serve them the preview version of the content instead of running them through the LaterPay token assignment process,
so they won't report errors for search engines, social media platforms etc.

Use browscap to test for user agent capabilities.

Live and test mode

As an admin,
I should be able to switch between the live mode and a test mode that works against the LaterPay sandbox and where the extension is not visible to visitors of the site,
so I can test the plugin and tweak its configuration without a staging system.

Settings management

As an admin,
I should be able to manage relevant settings from the TYPO3 backend, such as time passes configuration, extension mode, and API credentials,
so I can configure the extension according to my needs.

Remove unnecessary UI elements

I compiled a list of UI elements, which should be removed from the current Typo3 plugin backend as those features are not available in the plugin currently. @yastapenko-ScnSoft please have a look at the list and check, if the functionality is indeed not available in the current Typo3 plugin before removing the according UI elements.

Pricing Tab:

  • Toggle for "time passes only mode":
    screenshot 2015-05-05 13 58 20
  • Global Default Price:
    screenshot 2015-05-05 13 59 10
  • URL input for gift cards:
    screenshot 2015-05-05 13 59 29
  • Bulk Price Editor:
    screenshot 2015-05-05 13 59 48

Appearance Tab:

  • Gift Card Section:
    screenshot 2015-05-05 14 00 15
  • Content Rating:
    screenshot 2015-05-05 14 01 02
  • Premium Shortcode Section:
    screenshot 2015-05-05 14 01 27
  • Integration into Theme section:
    screenshot 2015-05-05 14 07 06

Dashboard:

@yastapenko-ScnSoft I'm not sure, which part of the dashboard is actually working / supposed to work. Could you provide further information about that, please?

Social media Plugin not working with LaterPay plugin

A merchant says that his social media plugin (it shows a social media bar below each article) is not working anymore, the bar is not displayed. There now is a Javascript error

"$(...).socialSharePrivacy is not a function".

Their admin said it might be because of the LaterPay plugin.
@mturalenka Could you please assign that ticket? It would be good to have that solved soonish.

Set up test servers

For testing purposes, we should set up TYPO3 on two DigitalOcean servers.
As they don't offer a TYPO3 image, I would spin up the server with a Linux distribution of your choice, you install TYPO3 and everything, and I then store that as an image for additional servers.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.