Plugin Directory

Changeset 2010663


Ignore:
Timestamp:
01/11/2019 03:58:44 PM (7 years ago)
Author:
etalented
Message:

Tagging v1.4.3

Location:
multipay/tags/1.4.3
Files:
3 deleted
1 edited
23 copied

Legend:

Unmodified
Added
Removed
  • multipay/tags/1.4.3/PaymentsAPI/paypal/PaypalAPI.class.php

    r1527927 r2010663  
    239239               
    240240                $post = $this->dump();
    241                 $query = http_build_query($post);
    242                 $ch = curl_init();
    243                
    244                 /*
    245                     Do request
    246                 */
    247                 curl_setopt($ch,CURLOPT_URL, $this->api);
    248                 curl_setopt($ch,CURLOPT_POST, count($post));
    249                 curl_setopt($ch,CURLOPT_POSTFIELDS, $query);
    250                 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
    251                 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    252                 $this->response = curl_exec($ch);
     241               
     242                if (function_exists('wp_remote_post')) {
     243                    $response = wp_remote_post($this->api, array('body' => $post, 'timeout' => 30));
     244                    $this->response = $response['body'];
     245                } else {
     246                    $query = http_build_query($post);
     247                    $ch = curl_init();
     248                   
     249                    /*
     250                        Do request
     251                    */
     252                    curl_setopt($ch,CURLOPT_URL, $this->api);
     253                    curl_setopt($ch,CURLOPT_POST, count($post));
     254                    curl_setopt($ch,CURLOPT_POSTFIELDS, $query);
     255                    curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
     256                    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
     257                    $this->response = curl_exec($ch);
     258                   
     259                    /*
     260                    Terminate connection
     261                    */
     262                    curl_close($ch);
     263                }
    253264               
    254265                if ($this->response) $this->formatResponse();
    255                
    256                 /*
    257                     Terminate connection
    258                 */
    259                 curl_close($ch);
    260266
    261267                return $this->response;
  • multipay/tags/1.4.3/multipay.php

    r1998729 r2010663  
    33Plugin Name: MultiPay
    44Plugin URI: https://wordpress.org/plugins/multipay/
    5 Description: Just want to take payments online? You don't need WooCommerce! With MultiPay you can take payments online quickly via PayPal, Stripe and WorldPay.
    6 Version: 1.4.2
     5Description: MultiPay is a free eCommerce plugin that allows you to sell anything, simply
     6Version: 1.4.3
    77Author: etalented
    88Author URI: https://etalented.co.uk/
  • multipay/tags/1.4.3/readme.txt

    r1998729 r2010663  
    44Tags: paypal, stripe, worldpay, ecommerce, e-commerce, sales, sell, store, payments
    55Requires at least: 4.0
    6 Tested up to: 5.0.2
     6Tested up to: 5.0.3
    77Requires PHP: 5.6
    8 Stable tag: 1.4.2
     8Stable tag: 1.4.3
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    135135== Changelog ==
    136136
     137= 1.4.3 =
     138*   Deprecated CURL requests for HTTP API where TLS verification was disabled
     139*   Help text update
     140
    137141= 1.4.2 =
    138142*   Fixed expired link error when pressing save or reset on Processing tab
  • multipay/tags/1.4.3/settings.php

    r1998729 r2010663  
    14731473        <ol>
    14741474        <li>'.__('Login to your PayPal business account (or create an account if you don\'t have one)','multipay').'</li>
    1475         <li>'.__('Click on the <b>Profile</b> link on the top right of your screen','multipay').'</li>
    1476         <li>'.__('Select the <b>Profile and Settings</b> option','multipay').'</li>
    1477         <li>'.__('Your Merchant account ID is on your profile homepage','multipay').'</li>
    1478         <li>'.__('Go to <b>My Selling Preferences</b> then the <b>Update</b> link on the API Access option','multipay').'</li>
    1479         <li>'.__('Your API details are hidden behind the <b>View API Signature</b> link. If you haven\'t set up your API details click on the <b>Request API Credentials</b> link','multipay').'</li>
     1475        <li>'.__('Click on the Cog icon (Settings) on the top right of your screen','multipay').'</li>
     1476        <li>'.__('You will find Merchant Account ID on this page','multipay').'</li>
     1477        <li>'.__('Go to My Selling Preferences then the Update link on the API Access option','multipay').'</li>
     1478        <li>'.__('Scroll down to "NVP/SOAP API integration (Classic)" click on "Manage API credentials"','multipay').'</li>
     1479        <li>'.__('You will find your API Username, API Password and Signature on this page, click on "Show" for each to reveal them','multipay').'</li>
    14801480        <li>'.__('Copy the Merchant account ID and API details into the appropriate fields on the left','multipay').'</li>
    14811481        <li>'.__('Make sure the \'Use PayPal\' box is checked','multipay').'</li>
     
    15191519        $content = '<div class="qp-settings"><div class="qp-options">
    15201520        <h2 style="color:#B52C00">'.__('Amazon API Settings', 'multipay').'</h2>
    1521         <p style="color:red">Amazon Payments only works in the USA. I\'m working on a version for the rest of the world</p>
     1521        <p style="color:red">Amazon Payments only works in the USA. Support cannot be offered for this payment method and it will be deprecated in version 2.0.</p>
    15221522        <form id="" method="post" action="">
    15231523        <table width="100%">
Note: See TracChangeset for help on using the changeset viewer.