Changeset 1803277
- Timestamp:
- 01/15/2018 02:27:08 PM (8 years ago)
- Location:
- woo-ea
- Files:
-
- 7 added
- 2 edited
-
tags/1.0.5/earnbox-for-woocommerce.php (modified) (7 diffs)
-
tags/1.0.6 (added)
-
tags/1.0.6/assets (added)
-
tags/1.0.6/assets/icon-128x128.png (added)
-
tags/1.0.6/assets/icon-256x256.png (added)
-
tags/1.0.6/assets/loadingAnimation.gif (added)
-
tags/1.0.6/earnbox-for-woocommerce.php (added)
-
tags/1.0.6/readme.txt (added)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woo-ea/tags/1.0.5/earnbox-for-woocommerce.php
r1769669 r1803277 2 2 /** 3 3 * Plugin Name: EarnBox for WooCommerce 4 * Plugin URI: https:// john.local:44444 * Plugin URI: https://earnbox.co 5 5 * Description: Unleash the power of cashbacks. 6 6 * Author: EarnBox … … 236 236 $shopName = rawurlencode(get_bloginfo( 'name' )); 237 237 $adminEmail = sanitize_email(get_option('admin_email')); 238 $url = "https:// john.local:4444/push-invite/-/$shopURL/-/$shopName/$adminEmail/-/?lang=" . get_locale();238 $url = "https://earnbox.co/push-invite/-/$shopURL/-/$shopName/$adminEmail/-/?lang=" . get_locale(); 239 239 240 240 $response = wp_remote_post( $url, array( … … 304 304 'title' => __( 'API Key', 'wc-earnbox-gateway' ), 305 305 'type' => 'text', 306 'description' => __( 'Your API key from john.local:4444.', 'wc-earnbox-gateway' ),306 'description' => __( 'Your API key from earnbox.co.', 'wc-earnbox-gateway' ), 307 307 'default' => __( '', 'wc-earnbox-gateway' ), 308 308 'desc_tip' => true, … … 312 312 'title' => __( 'Secret Key', 'wc-earnbox-gateway' ), 313 313 'type' => 'text', 314 'description' => __( 'Your Secret key from john.local:4444.', 'wc-earnbox-gateway' ),314 'description' => __( 'Your Secret key from earnbox.co.', 'wc-earnbox-gateway' ), 315 315 'default' => __( '', 'wc-earnbox-gateway' ), 316 316 'desc_tip' => true, … … 377 377 if ( !$password ) throw new Exception( __( 'Please enter a password', 'wc-earnbox-gateway' ) ); 378 378 if (!is_email( $email )) throw new Exception( __( 'Please enter a valid email address', 'wc-earnbox-gateway' ) ); 379 $url = esc_url_raw( "https:// john.local:4444/pay/{$amount}/{$api}/{$email}/{$password}/{$location}" );379 $url = esc_url_raw( "https://earnbox.co/pay/{$amount}/{$api}/{$email}/{$password}/{$location}" ); 380 380 381 381 $response = wp_remote_post( $url, array( … … 533 533 $tmp = $coupon->get_email_restrictions(); 534 534 $customer_email = array_shift($tmp); 535 $url = esc_url_raw( "https:// john.local:4444/refund/{$secret}/{$coupon_amount}/{$customer_email}" );535 $url = esc_url_raw( "https://earnbox.co/refund/{$secret}/{$coupon_amount}/{$customer_email}" ); 536 536 537 537 $response = wp_remote_post( $url, array( … … 572 572 $secret = $earnboxSettings['secret']; 573 573 $amount = $order->get_total(); 574 $url = esc_url_raw( "https:// john.local:4444/reward/{$secret}/{$amount}/url" );574 $url = esc_url_raw( "https://earnbox.co/reward/{$secret}/{$amount}/url" ); 575 575 576 576 $cashbackURL = wp_remote_post( $url, array( -
woo-ea/trunk/readme.txt
r1769604 r1803277 3 3 Requires at least: 3.8.0 4 4 Tested up to: 4.9.0 5 Stable tag: 1.0. 55 Stable tag: 1.0.6 6 6 Requires PHP: 5.3 7 7 License: GPLv3
Note: See TracChangeset
for help on using the changeset viewer.