Changeset 2164842
- Timestamp:
- 09/28/2019 11:09:40 AM (6 years ago)
- Location:
- edd-payu-gateway
- Files:
-
- 6 added
- 8 edited
- 1 copied
-
tags/1.0.1 (copied) (copied from edd-payu-gateway/trunk)
-
tags/1.0.1/admin/class-wpas-payu-admin.php (modified) (2 diffs)
-
tags/1.0.1/edd-payu-gateway.php (modified) (2 diffs)
-
tags/1.0.1/includes/class-wpas-payu.php (modified) (3 diffs)
-
tags/1.0.1/languages (added)
-
tags/1.0.1/languages/wpas-edd-payumoney-en_US.mo (added)
-
tags/1.0.1/languages/wpas-edd-payumoney-en_US.po (added)
-
tags/1.0.1/readme.txt (modified) (5 diffs)
-
trunk/admin/class-wpas-payu-admin.php (modified) (2 diffs)
-
trunk/edd-payu-gateway.php (modified) (2 diffs)
-
trunk/includes/class-wpas-payu.php (modified) (3 diffs)
-
trunk/languages (added)
-
trunk/languages/wpas-edd-payumoney-en_US.mo (added)
-
trunk/languages/wpas-edd-payumoney-en_US.po (added)
-
trunk/readme.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
edd-payu-gateway/tags/1.0.1/admin/class-wpas-payu-admin.php
r2101759 r2164842 48 48 'id' => 'payu_merchant_key', 49 49 'name' => __( 'Merchant Key', 'wpas-edd-payu' ), 50 'desc' => __( '', 'wpas-edd-payu' ),50 'desc' => '', 51 51 'type' => 'text', 52 52 'size' => 'regular', … … 55 55 'id' => 'payu_salt', 56 56 'name' => __( 'SALT', 'wpas-edd-payu' ), 57 'desc' => __( '', 'wpas-edd-payu' ),57 'desc' => '', 58 58 'type' => 'text', 59 59 'size' => 'regular', -
edd-payu-gateway/tags/1.0.1/edd-payu-gateway.php
r2101759 r2164842 4 4 Plugin URL: https://wpallsupport.com 5 5 Description: A PayUmoney payment gateway addon for Easy Digital Downloads WordPress plugin 6 Version: 1.0. 06 Version: 1.0.1 7 7 Author: WP ALL SUPPORT 8 8 Author URI: http://www.wpallsupport.com … … 31 31 32 32 if ( !defined( 'WPAS_EDD_PAYU_VERSION' ) ) { 33 define( 'WPAS_EDD_PAYU_VERSION', '1.0. 0' );33 define( 'WPAS_EDD_PAYU_VERSION', '1.0.1' ); 34 34 } 35 35 -
edd-payu-gateway/tags/1.0.1/includes/class-wpas-payu.php
r2101759 r2164842 175 175 edd_set_payment_transaction_id( $payment, $txnid ); 176 176 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 177 188 $params = array( 178 189 … … 184 195 185 196 // 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, 195 206 'phone' => '', 196 207 'service_provider' => 'payu_paisa', 197 208 // Item details 198 209 'productinfo' => $purchase_summary, 199 'amount' => $p urchase_data['price'],210 'amount' => $price, 200 211 'txnid' => $txnid, 201 212 'udf1' => $payment, … … 241 252 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 ) ) ); 242 253 // 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); 244 255 } 245 256 -
edd-payu-gateway/tags/1.0.1/readme.txt
r2101759 r2164842 4 4 Donate link: https://wpallsupport.com/ 5 5 Requires at least: 4.9 6 Tested up to: 5.2 .17 Stable tag: 1.0. 06 Tested up to: 5.2 7 Stable tag: 1.0.1 8 8 Requires PHP: 5.2.4 9 9 License: GPLv2 or later … … 14 14 == Description == 15 15 16 = PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India. = 17 16 18 After checkout on the website it redirects the user to the PayUmoney payment screen where the customer can make the payment. 17 19 18 20 The plugin requires a test or live API key which can be found from the PayUmoney account settings at https://www.payumoney.com 19 21 20 PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India.This add on is 100% translatable.22 This add on is 100% translatable. 21 23 22 24 = Suggestions / Feature Request = … … 26 28 == Installation == 27 29 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 (rec commended).30 1. Upload the plugin files to the `/wp-content/plugins/edd-payu-gateway` directory, or install the plugin through the WordPress plugins screen directly (recommended). 29 31 2. Activate the plugin through the 'Plugins' screen in WordPress 30 32 3. Enter your API keys and choose test-mode for making test payments … … 39 41 2. You need to open a PayUmoney merchant account on [PayUmoney](https://www.payumoney.com) 40 42 41 = Where can I ask for help ? =43 = Where can I ask for help or customisation requests? = 42 44 43 You can submit a support ticket o r pre-sale question from our [support page](https://wpallsupport.com/support/) at anytime.45 You can submit a support ticket on our [support forum](https://wpallsupport.com/support/) at anytime. 44 46 45 47 = Does this plugin support recurring payments? = … … 58 60 4. PayUmoney payment form(Can be different based on payment methods enabled) 59 61 62 == Changelog == 60 63 61 == Changelog == 64 = 1.0.1 = 65 * Translation .po files for English language - ADDED 66 * PHP notices while migrating on PayUmoney site - FIXED 62 67 63 68 = 1.0.0 = -
edd-payu-gateway/trunk/admin/class-wpas-payu-admin.php
r2101759 r2164842 48 48 'id' => 'payu_merchant_key', 49 49 'name' => __( 'Merchant Key', 'wpas-edd-payu' ), 50 'desc' => __( '', 'wpas-edd-payu' ),50 'desc' => '', 51 51 'type' => 'text', 52 52 'size' => 'regular', … … 55 55 'id' => 'payu_salt', 56 56 'name' => __( 'SALT', 'wpas-edd-payu' ), 57 'desc' => __( '', 'wpas-edd-payu' ),57 'desc' => '', 58 58 'type' => 'text', 59 59 'size' => 'regular', -
edd-payu-gateway/trunk/edd-payu-gateway.php
r2101759 r2164842 4 4 Plugin URL: https://wpallsupport.com 5 5 Description: A PayUmoney payment gateway addon for Easy Digital Downloads WordPress plugin 6 Version: 1.0. 06 Version: 1.0.1 7 7 Author: WP ALL SUPPORT 8 8 Author URI: http://www.wpallsupport.com … … 31 31 32 32 if ( !defined( 'WPAS_EDD_PAYU_VERSION' ) ) { 33 define( 'WPAS_EDD_PAYU_VERSION', '1.0. 0' );33 define( 'WPAS_EDD_PAYU_VERSION', '1.0.1' ); 34 34 } 35 35 -
edd-payu-gateway/trunk/includes/class-wpas-payu.php
r2101759 r2164842 175 175 edd_set_payment_transaction_id( $payment, $txnid ); 176 176 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 177 188 $params = array( 178 189 … … 184 195 185 196 // 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, 195 206 'phone' => '', 196 207 'service_provider' => 'payu_paisa', 197 208 // Item details 198 209 'productinfo' => $purchase_summary, 199 'amount' => $p urchase_data['price'],210 'amount' => $price, 200 211 'txnid' => $txnid, 201 212 'udf1' => $payment, … … 241 252 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 ) ) ); 242 253 // 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); 244 255 } 245 256 -
edd-payu-gateway/trunk/readme.txt
r2101759 r2164842 4 4 Donate link: https://wpallsupport.com/ 5 5 Requires at least: 4.9 6 Tested up to: 5.2 .17 Stable tag: 1.0. 06 Tested up to: 5.2 7 Stable tag: 1.0.1 8 8 Requires PHP: 5.2.4 9 9 License: GPLv2 or later … … 14 14 == Description == 15 15 16 = PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India. = 17 16 18 After checkout on the website it redirects the user to the PayUmoney payment screen where the customer can make the payment. 17 19 18 20 The plugin requires a test or live API key which can be found from the PayUmoney account settings at https://www.payumoney.com 19 21 20 PayUmoney gateway supports INR currency and this plugin is meant to be used by merchants in India.This add on is 100% translatable.22 This add on is 100% translatable. 21 23 22 24 = Suggestions / Feature Request = … … 26 28 == Installation == 27 29 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 (rec commended).30 1. Upload the plugin files to the `/wp-content/plugins/edd-payu-gateway` directory, or install the plugin through the WordPress plugins screen directly (recommended). 29 31 2. Activate the plugin through the 'Plugins' screen in WordPress 30 32 3. Enter your API keys and choose test-mode for making test payments … … 39 41 2. You need to open a PayUmoney merchant account on [PayUmoney](https://www.payumoney.com) 40 42 41 = Where can I ask for help ? =43 = Where can I ask for help or customisation requests? = 42 44 43 You can submit a support ticket o r pre-sale question from our [support page](https://wpallsupport.com/support/) at anytime.45 You can submit a support ticket on our [support forum](https://wpallsupport.com/support/) at anytime. 44 46 45 47 = Does this plugin support recurring payments? = … … 58 60 4. PayUmoney payment form(Can be different based on payment methods enabled) 59 61 62 == Changelog == 60 63 61 == Changelog == 64 = 1.0.1 = 65 * Translation .po files for English language - ADDED 66 * PHP notices while migrating on PayUmoney site - FIXED 62 67 63 68 = 1.0.0 =
Note: See TracChangeset
for help on using the changeset viewer.