prestashop-plugin

Prestashop module for BTCPay Server payment integration

MIT License

Stars
14
Committers
19

Bot releases are hidden (Show)

prestashop-plugin - Release v4.0.0

Published by BitcoinMitchell almost 3 years ago

This release contains everything in mentioned in #22 in the legacy repo and is the first release of this new repository. This module has v4 as it's internal version and includes migration scripts to try and migrate your old module to this new version.


Incomplete summary of all changes:

  • PrestaShop 1.7.7.0 and up is now required
  • PHP7.3 is now required as this is now fully supported
    • PHP7.2 is EOL and should not be used anymore
  • Setup a proper development environment
    • Also added example IPN callbacks for testing purposes
  • Improved the readability of the IPN
    • It's still not perfect, but should be better
  • If a cart changed with an existing BTCPay Server invoice, you were redirect to that (now outdated) one
  • Improved the backend styling and overal layouts (front- and backend)
    • Also added a tab in the backend, so you can go from Payments directly to BTCPay
  • Added GitHub flows so we have at least some linting
    • Also added automated release building
  • Updated all the Markdown files with more up-to-date information
  • Changed code related to URL generation to use Prestashop generators
  • Ensured there is a proper image displayed when showing the Bitcoin payment method
  • Hardcoded some constants that were used all over
  • Order statuses no longer have fixed ID's
    • They now also have proper images
  • Changed the database columns to be a bit more logical
  • Added invoice_reference to the database
    • It's used in the BTCPay Server callback URL, so we can always fetch the proper invoice/order for a guest
  • BTCPay Server token label is now the name of the shop (if you haven't set one yourself during the process)
  • We're now using the official BTCPay Server PHP library (and not the forked BitPay one)
  • Added a lot of extra comments to make the code more readable (for myself and others)
  • Resolved an invoice redirection issue which caused customers to go to an expired invoice
    • This was due to the facade not being set in the BTCPay Server token that was created
  • Changed the config names to be all caps which seems to be the norm for Prestashop modules
  • More changes that I forgot about...
prestashop-plugin - Release v4.0.1

Published by BitcoinMitchell almost 3 years ago

  • Updated the README and LICENSE
  • Retry failing CURL calls using backoff