Plugin Directory

Changeset 2919329


Ignore:
Timestamp:
05/30/2023 10:34:17 PM (3 years ago)
Author:
payformeuser
Message:

Deploying v2.0.6

Location:
payforme
Files:
1 deleted
5 edited
6 copied

Legend:

Unmodified
Added
Removed
  • payforme/tags/2.0.6/README.txt

    r2918720 r2919329  
    44Requires at least: 5.0
    55Tested up to: 6.2.2
    6 Stable tag: 2.0.5
     6Stable tag: 2.0.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7676== Changelog ==
    7777
     78= 2.0.6 =
     79* Add - Now providing clear and actionable guidance when WooCommerce API keys are found to be missing or incorrect.
     80
    7881= 2.0.5 =
    7982* Add - Support for custom store fees.
  • payforme/tags/2.0.6/changelog.txt

    r2918720 r2919329  
    11*** PayForMe for Woocommerce Changelog ***
     2
     3= 2023-05-30 - version 2.0.6 =
     4* Add - Now providing clear and actionable guidance when WooCommerce API keys are found to be missing or incorrect.
    25
    362023-05-29 - version 2.0.5
  • payforme/tags/2.0.6/payforme-woocommerce.php

    r2918720 r2919329  
    77 * Plugin URI:  https://wordpress.org/plugins/payforme/
    88 * Description: PayForMe enables people to pay for the purchases of their friends and families via a secure payment link. Accept Credit/Debit cards, ApplePay and GooglePay using PayForMe.
    9  * Version:     2.0.5
     9 * Version:     2.0.6
    1010 * Author:      PayForMe
    1111 * Author URI:  https://payforme.io/
     
    652652
    653653        if (is_wp_error($response)) {
    654             throw new Exception('WordPress Error ' . $httpcode . ': ' . $response->get_error_message());
     654            http_response_code($httpcode);
     655            echo json_encode($response->get_error_message());
     656            exit();
    655657        }
    656658
    657659        if ($httpcode !== 200) {
    658             throw new Exception('Error ' . $httpcode . ': ' . $response_body);
     660            http_response_code($httpcode);
     661            echo json_encode($response_body);
     662            exit();
    659663        }
    660664
  • payforme/tags/2.0.6/scripts/pfm-script.js

    r2906203 r2919329  
    6565      return data;
    6666    } catch (error) {
    67       const errorMsg = error.statusText ?? error.message;
    68       consoleLog("ajax error: " + JSON.stringify(errorMsg));
     67      const errorMsg = error.responseText ?? error.message ?? error.statusText;
     68      consoleLog("errorMsg: " + errorMsg);
    6969      dispatchErrorToComponent(COMPONENT_STORE_CHECKOUT, errorMsg);
    7070    }
  • payforme/trunk/README.txt

    r2918720 r2919329  
    44Requires at least: 5.0
    55Tested up to: 6.2.2
    6 Stable tag: 2.0.5
     6Stable tag: 2.0.6
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7676== Changelog ==
    7777
     78= 2.0.6 =
     79* Add - Now providing clear and actionable guidance when WooCommerce API keys are found to be missing or incorrect.
     80
    7881= 2.0.5 =
    7982* Add - Support for custom store fees.
  • payforme/trunk/changelog.txt

    r2918720 r2919329  
    11*** PayForMe for Woocommerce Changelog ***
     2
     3= 2023-05-30 - version 2.0.6 =
     4* Add - Now providing clear and actionable guidance when WooCommerce API keys are found to be missing or incorrect.
    25
    362023-05-29 - version 2.0.5
  • payforme/trunk/payforme-woocommerce.php

    r2918720 r2919329  
    77 * Plugin URI:  https://wordpress.org/plugins/payforme/
    88 * Description: PayForMe enables people to pay for the purchases of their friends and families via a secure payment link. Accept Credit/Debit cards, ApplePay and GooglePay using PayForMe.
    9  * Version:     2.0.5
     9 * Version:     2.0.6
    1010 * Author:      PayForMe
    1111 * Author URI:  https://payforme.io/
     
    652652
    653653        if (is_wp_error($response)) {
    654             throw new Exception('WordPress Error ' . $httpcode . ': ' . $response->get_error_message());
     654            http_response_code($httpcode);
     655            echo json_encode($response->get_error_message());
     656            exit();
    655657        }
    656658
    657659        if ($httpcode !== 200) {
    658             throw new Exception('Error ' . $httpcode . ': ' . $response_body);
     660            http_response_code($httpcode);
     661            echo json_encode($response_body);
     662            exit();
    659663        }
    660664
  • payforme/trunk/scripts/pfm-script.js

    r2906203 r2919329  
    6565      return data;
    6666    } catch (error) {
    67       const errorMsg = error.statusText ?? error.message;
    68       consoleLog("ajax error: " + JSON.stringify(errorMsg));
     67      const errorMsg = error.responseText ?? error.message ?? error.statusText;
     68      consoleLog("errorMsg: " + errorMsg);
    6969      dispatchErrorToComponent(COMPONENT_STORE_CHECKOUT, errorMsg);
    7070    }
Note: See TracChangeset for help on using the changeset viewer.