laterpay / laterpay-wordpress-plugin

The official LaterPay plugin for selling digital content with WordPress.
18 stars 10 forks source link

GDPR Compliance Enhancement #1251

Closed ksmoore125 closed 5 years ago

ksmoore125 commented 5 years ago

Description

As part of GDPR, LaterPay needs to allow merchants to delete their accounts. How does this affect the WordPress Plugin? We need to ensure that when a merchant deactivates their LaterPay Account, that the plugin functions properly.

See discussion here.

User Story

As a former, now deactivated, LaterPay merchant, I would like for the LaterPay plugin to deactivate as well so that my users do not get errors each time they try to purchase or access previously purchased content.

Acceptance Criteria

Without noticeably slow the process,

Note: This will make all content free however, if the merchant is deactivated, users will not be able to purchase content. Therefore free content is the preferred UX.

ksmoore125 commented 5 years ago

This does not seem to be working as expected, below are the steps that I took while testing:

  1. Open a sample post in an incognito window
  2. Click the purchase link and observe that it proceeds to the purchase flow
  3. Navigate back to the article (without purchasing)
  4. In LaterPay backend, deactivate my merchant account
  5. Refresh the page & click with purchase link

Expected Result: The article would be free

Observed Result: The article is not free & when I click the purchase link, I get a 404 error

ksmoore125 commented 5 years ago

The above behavior was due to caching on our wp-engine site. The behavior works as expected on non-cached sites.

thrijith commented 5 years ago

Released in v2.6.3