# === StarGate Payment Gateway for WooCommerce ===
Contributors: comprassibs
Tags: payments, woocommerce, blik, pay by link, sibs, credit card, visa, mastercard, payment gateway, gpay
Stable tag: 2.4.8
Requires at least PHP: 7.4 (with sodium)
Magento tested up to: 2.4.6-p4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Accept VISA, MasterCard, BLIK and Pay By Link with a single payment gateway solution.

# == Description ==

A ready-to-service e-commerce solution, with integrated checkout positioning and BackOffice for merchant management. An interface for various national and international payment methods.

*Why use SIBS Payments Gateway for WooCommerce?*

- Unique platform for payment methods and brands relevant to your customers, with PCI DSS security certification.
- Fraud prevention and detection in every channel and cards in the system.
- Web responsive hosted SIBS payment page allowing you not to process sensitive data.
- Allows the Acquirer choice for each payment method.
- From the authenticated registration, SIBS keep the card sensitive data, allowing One Click Shopping experience.
- Supports 3D Secure.
- And more!

*Integrated Checkout*

SIBS Payments Gateway Plugin for WooCommerce allows you to have an integrated checkout on your Web page, ensuring a good customer experience and better conversion rates.
Through COPYandPAY payment form direct integration in the shopping cart, you offer different payment methods to the customer in a safe way. 

*Monitoring and reporting tools*

The BackOffice allows you to view an activity summary in the entry page with given modules and configurable indicators, consult the transaction list with real time state updates, verify the transaction detail, act on a transaction (amount capture, transaction canceling and amount refund), activity monitoring through configurable reports (by period, payment method, operation type, etc...) and export visualized data or aggregated reports.

*Better Fraud protection*

*Integrated with the domestic banking system*

Integrated with national issuers, processing and in the interbank clearing system.

*Warranty*

The plugin is provided “as is” without warranty of any kind, expressed or implied. We shall not be liable for any damages, including but not limited to, direct, indirect, special, incidental or consequential damages or losses that occur out of the use or inability to use our products or support.
Before general release, the plugins are tested and guaranteed to function on basic installation of Wordpress and regular Woocommerce. We do not, and cannot, assure that that it will function with all third-party plugins or in all web browsers, therefore, we cannot be held responsible for any conflicts that may occur in your installation. 
It is our policy to support our plugins as best we can and we will provide support for third-party plugin conflicts at our discretion or as time allows. 
We are not responsible for any data loss or other damages that may occur as a result of installing our plugins.

*Acceptance*

By using the plugin you indicate that you have read and agreed and understood the terms above.
We reserve the right to change or modify the current terms.

# == Installation ==

In order to have the solution ready to use:

1.	Separately from the plugin installation you will need an agreement with the available Financial Institutions:
    - Caixa Geral de Depósitos
    - Millennium BCP
    - Santander
    - Banco BPI
    - Caixa Crédito Agrícola
    - SIBS Pagamentos
    - Others 
2.	Once the agreement is signed with the chosen Financial Institution, you can request your credentials to start accepting payments.
3.	Please contact SIBS to proceed:
    - Email - pagamentos@sibs.pt, paymentservices@sibs.pt
    - Phone - 217918703

# == Frequently Asked Questions ==

*Where can I find documentation?*

For help setting up and configuring, please refer to our user guide.

*How long does it take to start accepting payments?*

After the agreement is signed and the plugin is run to integrate the solution, enter the credentials to start accepting payments.

*What currencies can I use?*

Currently, only Euros.

*How long does it take the money to get to my account?*

The money will be deposited directly in your bank account (there are no wallets in the middle of the process) accordingly to the Bank clearing and settlement cycles.

# == Changelog ==

## v2.1.1
*Released on*
- 2022/04/28

*Stability*
- PHP: 7.2
- Magento: 2.3.0 to 2.3.5

*Changes*
- Added date format sent with server time (GMT)

## v2.2.0
*Released on*
- 2023/05/22

*Stability*
- PHP: 7.4
- Magento: 2.3.7 to 2.4.3-p3

*Changes*
- Added CER environment
- Added class SibsConstants, SibsLog, SibsException, SibsApi, SibsDb
- Added New Webhook class using magento webapi
- Removed PBL BlueMedia
- Added PBL Kevin
- Added New Plugin admin Layout
- Fixed missing cart problems
- Fixed InstallSchema problems
- Improved Capture, Refund, Inquiry Status
- Created Polish and English translations
- Improved Portuguese translations 

## v2.2.1
*Released on*
- 2023/06/14

*Stability*
- PHP: 7.4
- Magento: 2.3.7 to 2.4.3-p3

*Changes*
- Added SibsOrder class to encapsulate Capture, Refund and Inquiry
- Improved Order Status with SIBS statuses (Authorized, Refunded, On Hold Capture, On Hold Refund)
- Added SIBS informations on order page (transactionID, CaptureID and RefundID)
- Added a loader on SIBS form
- Improved Admin Sibs (Status) Page with new informations and a better log view

## v2.2.2
*Released on*
- 2023/07/03

*Stability*
- PHP: 7.4
- Magento: 2.3.7 to 2.4.3-p3

*Changes*
- Added Customer Payment Feedback Messages
- Resolved the problem of two emails are being send when pay
- Added new translations from version 2.2.1
- Removed configuration options Cards
- Removed configuration BLIK
- Removed configuration Pay by Link

## v2.3.0
*Released on*
- 2023/07/21

*Stability*
- PHP: 7.4
- Magento: 2.3.7 to 2.4.3-p3

*Changes*
- STARG-3240 - Fixed Logs form
- STARG-3424 - Removed configuration options cards - Magento
- STARG-3425 - Removed Configuration BLIK - Magento
- STARG-3426 - Removed config pay by link
- STARG-3426 - Updated config webhook
- STARG-3385 - Added solution of checkout 
- STARG-2285 - Removed HardCoded comments on config
- Added Hide/Show Place Order
- Fixed name logs and tradutor

## v2.3.1
*Released on*
- 2023/07/24

*Stability*
- PHP: 7.4
- Magento: 2.3.7 to 2.4.3-p3

*Changes*
- Added Fail Screen
- Fixed Translations

## v2.4.0
*Released on*
- 2023/08/02

*Stability*
- PHP: 8.1
- Magento: 2.3.7 to 2.4.5

*Changes*
- Added report a bug to stargate support mail
- Added format of configuration form
- Resolved Incompatibilities to work on Magento 2.4.5

## v2.4.1
*Released on*
- 2023/08/03

*Stability*
- PHP: 8.1
- Magento: 2.3.7 to 2.4.6-p1

*Changes*
- Resolved Incompatibilities to work on Magento 2.4.6-p1
- Resolved warning on Sibs (Status) page when using PHP 8

## v2.4.2
*Released on*
- 2023/11/08

*Stability*
- PHP: 8.1
- Magento: 2.3.7 to 2.4.6-p1

*Changes*
- Implemented automatic backoffice
- Implemented multicurrency for multistore views. Each store view has to use a single currency
- Updated bug report informations to be sent

## v2.4.3
*Released on*
- 2023/11/15

*Stability*
- PHP: 8.1
- Magento: 2.3.7 to 2.4.6-p1

*Changes*
- Improved Sibs Logs
- Implemented Webhook for Multistore
- Fixed Automatic SBO problem
- Added XPay Payment option

## v2.4.4
*Released on*
- 2023/11/27

*Stability*
- PHP: 8.1
- Magento: 2.4.0 to 2.4.6-p1

*Changes*
- Fixed javascript translations for magento (don't work in older versions of magento)
- Added new translations
- Fixed duplicated email

## v2.4.5
*Released on*
- 2024/02/23

*Stability*
- PHP: 8.1
- Magento: 2.4.0 to 2.4.6-p1

*Changes*
- New SibsLog class to improve Logs
- Added Apple Pay input file on sibs admin page
- Fixed multiple transactionID for merchantTransactionID
- Improved checkout class

## v2.4.6
*Released on*
- 2024/02/28

*Stability*
- PHP: 7.4 to 8.1
- Magento: 2.4.0 to 2.4.6-p4

*Changes*
- Hotfix to make plugin work on PHP 7.4 and Magento 2.3.7 again

## v2.4.7
*Released on*
- 2024/03/19

*Stability*
- PHP: 7.4 to 8.1
- Magento: 2.4.0 to 2.4.6-p4

*Changes*
- Added Dutch Translation
- Fixed apple file to work with root or pub .htaccess

## v2.4.8
*Released on*
- 2024/04/04

*Stability*
- PHP: 7.4 to 8.1
- Magento: 2.4.0 to 2.4.6-p4

*Changes*
- Chaged sync webhook to assync webhook
- Fixed url subdomains for automatic SBO