Plugin Directory

Changeset 2164842


Ignore:
Timestamp:
09/28/2019 11:09:40 AM (6 years ago)
Author:
wpallsupport
Message:

tagging version 1.0.1

Location:
edd-payu-gateway
Files:
6 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • edd-payu-gateway/tags/1.0.1/admin/class-wpas-payu-admin.php

    r2101759 r2164842  
    4848                'id'   => 'payu_merchant_key',
    4949                'name' => __( 'Merchant Key', 'wpas-edd-payu' ),
    50                 'desc' => __( '', 'wpas-edd-payu' ),
     50                'desc' => '',
    5151                'type' => 'text',
    5252                'size' => 'regular',
     
    5555                'id'   => 'payu_salt',
    5656                'name' => __( 'SALT', 'wpas-edd-payu' ),
    57                 'desc' => __( '', 'wpas-edd-payu' ),
     57                'desc' => '',
    5858                'type' => 'text',
    5959                'size' => 'regular',
  • edd-payu-gateway/tags/1.0.1/edd-payu-gateway.php

    r2101759 r2164842  
    44Plugin URL: https://wpallsupport.com
    55Description: A PayUmoney payment gateway addon for Easy Digital Downloads WordPress plugin
    6 Version: 1.0.0
     6Version: 1.0.1
    77Author: WP ALL SUPPORT
    88Author URI: http://www.wpallsupport.com
     
    3131
    3232if ( !defined( 'WPAS_EDD_PAYU_VERSION' ) ) {
    33     define( 'WPAS_EDD_PAYU_VERSION', '1.0.0' );
     33    define( 'WPAS_EDD_PAYU_VERSION', '1.0.1' );
    3434}
    3535
  • edd-payu-gateway/tags/1.0.1/includes/class-wpas-payu.php

    r2101759 r2164842  
    175175            edd_set_payment_transaction_id( $payment, $txnid );
    176176
     177            $line1 = isset($purchase_data['user_info']['address']['line1']) ? $purchase_data['user_info']['address']['line1'] : '';
     178            $line2 = isset($purchase_data['user_info']['address']['line2']) ? $purchase_data['user_info']['address']['line2'] : '';
     179            $city = isset($purchase_data['user_info']['address']['city']) ? $purchase_data['user_info']['address']['city'] : '';
     180            $state = isset($purchase_data['user_info']['address']['state']) ? $purchase_data['user_info']['address']['state'] : '';
     181            $zip = isset($purchase_data['user_info']['address']['zip']) ? $purchase_data['user_info']['address']['zip'] : '';
     182            $country = isset($purchase_data['user_info']['address']['country']) ? $purchase_data['user_info']['address']['country'] : '';
     183            $price = isset($purchase_data['price']) ? $purchase_data['price'] : '';
     184            $first_name = isset($purchase_data['user_info']['first_name']) ? $purchase_data['user_info']['first_name'] : '';
     185            $last_name = isset($purchase_data['user_info']['last_name']) ? $purchase_data['user_info']['last_name'] : '';
     186            $user_email = isset($purchase_data['user_email']) ? $purchase_data['user_email'] : '';
     187
    177188            $params = array(
    178189
     
    184195
    185196                // Customer details
    186                 'firstname'             => $purchase_data['user_info']['first_name'],
    187                 'lastname'              => $purchase_data['user_info']['last_name'],
    188                 'email'                 => $purchase_data['user_email'],
    189                 'address1'              => $purchase_data['user_info']['address']['line1'],
    190                 'address2'              => $purchase_data['user_info']['address']['line2'],
    191                 'city'                  => $purchase_data['user_info']['address']['city'],
    192                 'state'                 => $purchase_data['user_info']['address']['state'],
    193                 'zipcode'               => $purchase_data['user_info']['address']['zip'],
    194                 'country'               => $purchase_data['user_info']['address']['country'],
     197                'firstname'             => $first_name,
     198                'lastname'              => $last_name,
     199                'email'                 => $user_email,
     200                'address1'              => $line1,
     201                'address2'              => $line2,
     202                'city'                  => $city,
     203                'state'                 => $state,
     204                'zipcode'               => $zip,
     205                'country'               => $country,
    195206                'phone'                 => '',
    196207                'service_provider'      => 'payu_paisa',
    197208                // Item details
    198209                'productinfo'           => $purchase_summary,
    199                 'amount'                => $purchase_data['price'],
     210                'amount'                => $price,
    200211                'txnid'                 => $txnid,
    201212                'udf1'                  => $payment,
     
    241252            edd_record_gateway_error( __( 'Payment Error', 'easy-digital-downloads' ), sprintf( __( 'Payment creation failed while processing a PayUmoney payment gateway purchase. Payment data: %s', 'wpas-edd-payu' ), json_encode( $purchase_data ) ) );
    242253            // if errors are present, send the user back to the purchase page so they can be corrected
    243             edd_send_back_to_checkout('?payment-mode=' . $purchase_data['post_data']['edd-gateway']);
     254            edd_send_back_to_checkout('?payment-mode='.$this->gateway_id);
    244255        }
    245256
  • edd-payu-gateway/tags/1.0.1/readme.txt

    r2101759 r2164842  
    44Donate link: https://wpallsupport.com/
    55Requires at least: 4.9
    6 Tested up to: 5.2.1
    7 Stable tag: 1.0.0
     6Tested up to: 5.2
     7Stable tag: 1.0.1
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    1414== Description ==
    1515
     16= PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India. =
     17
    1618After checkout on the website it redirects the user to the PayUmoney payment screen where the customer can make the payment.
    1719
    1820The plugin requires a test or live API key which can be found from the PayUmoney account settings at https://www.payumoney.com
    1921
    20 PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India. This add on is 100% translatable.
     22This add on is 100% translatable.
    2123
    2224= Suggestions / Feature Request =
     
    2628== Installation ==
    2729
    28 1. Upload the plugin files to the `/wp-content/plugins/edd-payu-gateway` directory, or install the plugin through the WordPress plugins screen directly (reccommended).
     301. Upload the plugin files to the `/wp-content/plugins/edd-payu-gateway` directory, or install the plugin through the WordPress plugins screen directly (recommended).
    29312. Activate the plugin through the 'Plugins' screen in WordPress
    30323. Enter your API keys and choose test-mode for making test payments
     
    39412.  You need to open a PayUmoney merchant account on [PayUmoney](https://www.payumoney.com)
    4042
    41 = Where can I ask for help? =
     43= Where can I ask for help or customisation requests? =
    4244
    43 You can submit a support ticket or pre-sale question from our [support page](https://wpallsupport.com/support/) at anytime.
     45You can submit a support ticket on our [support forum](https://wpallsupport.com/support/) at anytime.
    4446
    4547= Does this plugin support recurring payments? =
     
    58604. PayUmoney payment form(Can be different based on payment methods enabled)
    5961
     62== Changelog ==
    6063
    61 == Changelog ==
     64= 1.0.1 =
     65* Translation .po files for English language - ADDED
     66* PHP notices while migrating on PayUmoney site - FIXED
    6267
    6368= 1.0.0 =
  • edd-payu-gateway/trunk/admin/class-wpas-payu-admin.php

    r2101759 r2164842  
    4848                'id'   => 'payu_merchant_key',
    4949                'name' => __( 'Merchant Key', 'wpas-edd-payu' ),
    50                 'desc' => __( '', 'wpas-edd-payu' ),
     50                'desc' => '',
    5151                'type' => 'text',
    5252                'size' => 'regular',
     
    5555                'id'   => 'payu_salt',
    5656                'name' => __( 'SALT', 'wpas-edd-payu' ),
    57                 'desc' => __( '', 'wpas-edd-payu' ),
     57                'desc' => '',
    5858                'type' => 'text',
    5959                'size' => 'regular',
  • edd-payu-gateway/trunk/edd-payu-gateway.php

    r2101759 r2164842  
    44Plugin URL: https://wpallsupport.com
    55Description: A PayUmoney payment gateway addon for Easy Digital Downloads WordPress plugin
    6 Version: 1.0.0
     6Version: 1.0.1
    77Author: WP ALL SUPPORT
    88Author URI: http://www.wpallsupport.com
     
    3131
    3232if ( !defined( 'WPAS_EDD_PAYU_VERSION' ) ) {
    33     define( 'WPAS_EDD_PAYU_VERSION', '1.0.0' );
     33    define( 'WPAS_EDD_PAYU_VERSION', '1.0.1' );
    3434}
    3535
  • edd-payu-gateway/trunk/includes/class-wpas-payu.php

    r2101759 r2164842  
    175175            edd_set_payment_transaction_id( $payment, $txnid );
    176176
     177            $line1 = isset($purchase_data['user_info']['address']['line1']) ? $purchase_data['user_info']['address']['line1'] : '';
     178            $line2 = isset($purchase_data['user_info']['address']['line2']) ? $purchase_data['user_info']['address']['line2'] : '';
     179            $city = isset($purchase_data['user_info']['address']['city']) ? $purchase_data['user_info']['address']['city'] : '';
     180            $state = isset($purchase_data['user_info']['address']['state']) ? $purchase_data['user_info']['address']['state'] : '';
     181            $zip = isset($purchase_data['user_info']['address']['zip']) ? $purchase_data['user_info']['address']['zip'] : '';
     182            $country = isset($purchase_data['user_info']['address']['country']) ? $purchase_data['user_info']['address']['country'] : '';
     183            $price = isset($purchase_data['price']) ? $purchase_data['price'] : '';
     184            $first_name = isset($purchase_data['user_info']['first_name']) ? $purchase_data['user_info']['first_name'] : '';
     185            $last_name = isset($purchase_data['user_info']['last_name']) ? $purchase_data['user_info']['last_name'] : '';
     186            $user_email = isset($purchase_data['user_email']) ? $purchase_data['user_email'] : '';
     187
    177188            $params = array(
    178189
     
    184195
    185196                // Customer details
    186                 'firstname'             => $purchase_data['user_info']['first_name'],
    187                 'lastname'              => $purchase_data['user_info']['last_name'],
    188                 'email'                 => $purchase_data['user_email'],
    189                 'address1'              => $purchase_data['user_info']['address']['line1'],
    190                 'address2'              => $purchase_data['user_info']['address']['line2'],
    191                 'city'                  => $purchase_data['user_info']['address']['city'],
    192                 'state'                 => $purchase_data['user_info']['address']['state'],
    193                 'zipcode'               => $purchase_data['user_info']['address']['zip'],
    194                 'country'               => $purchase_data['user_info']['address']['country'],
     197                'firstname'             => $first_name,
     198                'lastname'              => $last_name,
     199                'email'                 => $user_email,
     200                'address1'              => $line1,
     201                'address2'              => $line2,
     202                'city'                  => $city,
     203                'state'                 => $state,
     204                'zipcode'               => $zip,
     205                'country'               => $country,
    195206                'phone'                 => '',
    196207                'service_provider'      => 'payu_paisa',
    197208                // Item details
    198209                'productinfo'           => $purchase_summary,
    199                 'amount'                => $purchase_data['price'],
     210                'amount'                => $price,
    200211                'txnid'                 => $txnid,
    201212                'udf1'                  => $payment,
     
    241252            edd_record_gateway_error( __( 'Payment Error', 'easy-digital-downloads' ), sprintf( __( 'Payment creation failed while processing a PayUmoney payment gateway purchase. Payment data: %s', 'wpas-edd-payu' ), json_encode( $purchase_data ) ) );
    242253            // if errors are present, send the user back to the purchase page so they can be corrected
    243             edd_send_back_to_checkout('?payment-mode=' . $purchase_data['post_data']['edd-gateway']);
     254            edd_send_back_to_checkout('?payment-mode='.$this->gateway_id);
    244255        }
    245256
  • edd-payu-gateway/trunk/readme.txt

    r2101759 r2164842  
    44Donate link: https://wpallsupport.com/
    55Requires at least: 4.9
    6 Tested up to: 5.2.1
    7 Stable tag: 1.0.0
     6Tested up to: 5.2
     7Stable tag: 1.0.1
    88Requires PHP: 5.2.4
    99License: GPLv2 or later
     
    1414== Description ==
    1515
     16= PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India. =
     17
    1618After checkout on the website it redirects the user to the PayUmoney payment screen where the customer can make the payment.
    1719
    1820The plugin requires a test or live API key which can be found from the PayUmoney account settings at https://www.payumoney.com
    1921
    20 PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India. This add on is 100% translatable.
     22This add on is 100% translatable.
    2123
    2224= Suggestions / Feature Request =
     
    2628== Installation ==
    2729
    28 1. Upload the plugin files to the `/wp-content/plugins/edd-payu-gateway` directory, or install the plugin through the WordPress plugins screen directly (reccommended).
     301. Upload the plugin files to the `/wp-content/plugins/edd-payu-gateway` directory, or install the plugin through the WordPress plugins screen directly (recommended).
    29312. Activate the plugin through the 'Plugins' screen in WordPress
    30323. Enter your API keys and choose test-mode for making test payments
     
    39412.  You need to open a PayUmoney merchant account on [PayUmoney](https://www.payumoney.com)
    4042
    41 = Where can I ask for help? =
     43= Where can I ask for help or customisation requests? =
    4244
    43 You can submit a support ticket or pre-sale question from our [support page](https://wpallsupport.com/support/) at anytime.
     45You can submit a support ticket on our [support forum](https://wpallsupport.com/support/) at anytime.
    4446
    4547= Does this plugin support recurring payments? =
     
    58604. PayUmoney payment form(Can be different based on payment methods enabled)
    5961
     62== Changelog ==
    6063
    61 == Changelog ==
     64= 1.0.1 =
     65* Translation .po files for English language - ADDED
     66* PHP notices while migrating on PayUmoney site - FIXED
    6267
    6368= 1.0.0 =
Note: See TracChangeset for help on using the changeset viewer.