Plugin Directory

Changeset 2676089


Ignore:
Timestamp:
02/10/2022 01:08:58 AM (4 years ago)
Author:
switchpaybrasil
Message:

New version

Location:
switchpay-pagamentos/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • switchpay-pagamentos/trunk/includes/SwitchPayGateway.php

    r2644697 r2676089  
    160160        file_put_contents(__DIR__ . "/../response.json", json_encode($response, JSON_PRETTY_PRINT));
    161161
    162          if ($response['status'] == "failed" || $response['error'] ) {
     162         if ($response['status'] != "succeeded" || $response['error'] ) {
    163163            return array(
    164164                'result' => "error",
     
    184184
    185185        if ($payment == "credit") {
    186              $order->update_status('completed', 'Pago');
    187                  }
     186            if ($response['status'] == "succeeded" ) {
     187             $order->update_status('completed');
     188            }else{
     189             $order->update_status('failed');
     190            }
     191        }
    188192
    189193        return array(
  • switchpay-pagamentos/trunk/readme.txt

    r2644700 r2676089  
    33Tags: payments, pagamentos, gateway, boleto, boleto bancário, cartão de crédito, pagamentos, woocommerce
    44Requires at least: 5.2
    5 Tested up to: 5.8.2
     5Tested up to: 5.9
    66Requires PHP: 7.2
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9494== Changelog ==
    9595
     96= 1.0.2 - 2022/02/02 =
     97
     98- Correções de bugs.
     99
    96100= 1.0.1 - 2021/12/15 =
    97101
  • switchpay-pagamentos/trunk/switchpay-woocommerce.php

    r2644697 r2676089  
    55 * Plugin URI:  https://wordpress.org/plugins/switchpay-pagamentos     
    66 * Description: A SwitchPay é a melhor forma de receber pagamentos online na modalidade de cartão de crédito e boleto bancário, sendo possível o cliente fazer todo o pagamento sem sair da sua loja WooCommerce de forma rápida, fácil e prática!   
    7  * Version: 1.0.1
     7 * Version: 1.0.2
    88 * Requires at least: 5.2
    99 * Requires PHP: 7.2
Note: See TracChangeset for help on using the changeset viewer.