Changeset 2414031
- Timestamp:
- 11/06/2020 05:46:10 PM (5 years ago)
- Location:
- servicebot/trunk
- Files:
-
- 2 edited
-
public/widgets/js/servicebot-subscription-portal-widget.js (modified) (2 diffs)
-
servicebot.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
servicebot/trunk/public/widgets/js/servicebot-subscription-portal-widget.js
r2399608 r2414031 64 64 window.location = login_redirect_url; 65 65 } 66 67 // if(data != 0 && login_redirect_url){68 // window.location = login_redirect_url;69 // }else if( data == 0 ){70 // var message = document.createElement('div');71 // message.innerText = "Subscription created! But the email already exist, please login to see your subscription."72 // var embedContainer = document.querySelector('#servicebot-subscription-portal');73 // embedContainer.parentNode.insertBefore(message, embedContainer)74 // console.error("Subscription created but WP user alrady exist for", response.customer.email);75 // }76 66 }; 77 67 … … 79 69 } 80 70 81 }else{ 82 console.log("No callback was called", event, response); 71 } 72 if(servicebot_wp_handle_response){ 73 servicebot_wp_handle_response({event, response, extras}) 83 74 } 84 75 } -
servicebot/trunk/servicebot.php
r2414019 r2414031 17 17 * Plugin URI: http://www.wpexplorer.com/servicebot/ 18 18 * Description: This is a short description of what the plugin does. It's displayed in the WordPress admin area. 19 * Version: 1.1. 819 * Version: 1.1.9 20 20 * Author: Servicebot 21 21 * Author URI: https://servicebot.io … … 36 36 * Rename this for your plugin and update it as you release new versions. 37 37 */ 38 define( 'SERVICEBOT_VERSION', '1.1. 8' );38 define( 'SERVICEBOT_VERSION', '1.1.9' ); 39 39 40 40 /**
Note: See TracChangeset
for help on using the changeset viewer.