Ambassador - Version 1.1.4

Version Notes

- fixed error message for Store Credits

Download this release

Release Info

Developer Jeffrey Epstein
Extension Ambassador
Version 1.1.4
Comparing to
See all releases


Code changes from version 1.1.3 to 1.1.4

app/code/community/Ambassador/Event/controllers/CallbackController.php CHANGED
@@ -12,7 +12,7 @@ class Ambassador_Event_CallbackController extends Mage_Core_Controller_Front_Act
12
$mode = $_POST['mode'];
13
14
if ($mode === 'dev') {
15
- $ambassador_url = 'http://getambassador.dev/';
16
} else {
17
$ambassador_url = 'https://getambassador.com/';
18
}
@@ -308,7 +308,7 @@ class Ambassador_Event_CallbackController extends Mage_Core_Controller_Front_Act
308
$mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
309
310
if ($mode === 'dev') {
311
- $ambassador_url = 'http://getambassador.dev/';
312
} else {
313
$ambassador_url = 'https://getambassador.com/';
314
}
12
$mode = $_POST['mode'];
13
14
if ($mode === 'dev') {
15
+ $ambassador_url = 'https://dev.getambassador.com/';
16
} else {
17
$ambassador_url = 'https://getambassador.com/';
18
}
308
$mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
309
310
if ($mode === 'dev') {
311
+ $ambassador_url = 'https://dev.getambassador.com/';
312
} else {
313
$ambassador_url = 'https://getambassador.com/';
314
}
app/code/community/Ambassador/Payout/controllers/PayoutController.php CHANGED
@@ -17,6 +17,7 @@ class Ambassador_Payout_PayoutController extends Mage_Core_Controller_Front_Acti
17
18
if (!Mage::helper('enterprise_customerbalance')->isEnabled()) {
19
echo json_encode(array('type' => 'error', 'message' => 'Store Credit disabled.'));
20
}
21
22
$customer = Mage::getModel('customer/customer');
17
18
if (!Mage::helper('enterprise_customerbalance')->isEnabled()) {
19
echo json_encode(array('type' => 'error', 'message' => 'Store Credit disabled.'));
20
+ exit;
21
}
22
23
$customer = Mage::getModel('customer/customer');
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Ambassador</name>
4
- <version>1.1.3</version>
5
<stability>stable</stability>
6
<license uri="https://getambassador.com/terms">Zferral, Inc, magento@getAmbassador.com</license>
7
<channel>community</channel>
@@ -14,13 +14,11 @@ Use Ambassador to easily create, track &amp; manage custom incentives that drive
14
Integrate Ambassador into the other existing applications you already use, including Salesforce, Sendgrid, MailChimp, Campaign Monitor, Sailthru, PayPal and Dwolla.&#xD;
15
&#xD;
16
Get started on Ambassador with a free trial, simply follow the instructions on how to get up and running in just minutes.</description>
17
- <notes>- pending commission (with revenue &amp; transaction id) is created when order is placed&#xD;
18
- - commission is approved when `Submit Invoice` or `Ship` button is clicked&#xD;
19
- - commission is denied when `Cancel` button is clicked</notes>
20
<authors><author><name>Jeffrey Epstein</name><user>getAmbassador</user><email>magento@getambassador.com</email></author><author><name>Greg Szymczak</name><user>gpszymczak</user><email>gpszymczak@gmail.com</email></author></authors>
21
- <date>2013-12-03</date>
22
- <time>13:28:31</time>
23
- <contents><target name="magecommunity"><dir name="Ambassador"><dir name="Affiliate"><dir name="Model"><file name="Observer.php" hash="b8bb353e129bf09f5eeb6cc9d21a107c"/></dir><dir name="controllers"><file name="AffiliateController.php" hash="675abd910b45ea4320cd30455c36a200"/></dir><dir name="etc"><file name="config.xml" hash="98de110422ad3fe68c234eebba9c401a"/></dir></dir><dir name="Event"><dir name="Model"><file name="Observer.php" hash="6738b87068e51a739fda753645b8a840"/></dir><dir name="controllers"><file name="CallbackController.php" hash="b0c8b2595bace2b5805febf9360545fd"/></dir><dir name="etc"><file name="config.xml" hash="2243df59895e012f99412670ed16039c"/></dir></dir><dir name="Payout"><dir name="controllers"><file name="PayoutController.php" hash="487bb4245152f0f0d584005a3e92d464"/></dir><dir name="etc"><file name="config.xml" hash="23dbf12c8a05edce63499f19087367a1"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="38d66b1e639cd623f3f255aea2e42665"/><file name="img.phtml" hash="93450ac8ed4df0aa33e29c0c58fbb3b2"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="38d66b1e639cd623f3f255aea2e42665"/><file name="img.phtml" hash="93450ac8ed4df0aa33e29c0c58fbb3b2"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ambassador_Event.xml" hash="531c19fe928c2fd3b008cf00bc865246"/><file name="Ambassador_Affiliate.xml" hash="806b368fde635b60f5dabad5cfa9e1d8"/><file name="Ambassador_Payout.xml" hash="24f665e03b13562e03b871957e959ae2"/></dir></target></contents>
24
<compatible/>
25
- <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php><extension><name>curl</name><min></min><max></max></extension><extension><name>json</name><min></min><max></max></extension></required></dependencies>
26
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Ambassador</name>
4
+ <version>1.1.4</version>
5
<stability>stable</stability>
6
<license uri="https://getambassador.com/terms">Zferral, Inc, magento@getAmbassador.com</license>
7
<channel>community</channel>
14
Integrate Ambassador into the other existing applications you already use, including Salesforce, Sendgrid, MailChimp, Campaign Monitor, Sailthru, PayPal and Dwolla.&#xD;
15
&#xD;
16
Get started on Ambassador with a free trial, simply follow the instructions on how to get up and running in just minutes.</description>
17
+ <notes>- fixed error message for Store Credits</notes>
18
<authors><author><name>Jeffrey Epstein</name><user>getAmbassador</user><email>magento@getambassador.com</email></author><author><name>Greg Szymczak</name><user>gpszymczak</user><email>gpszymczak@gmail.com</email></author></authors>
19
+ <date>2015-03-25</date>
20
+ <time>10:29:25</time>
21
+ <contents><target name="magecommunity"><dir name="Ambassador"><dir name="Affiliate"><dir name="Model"><file name="Observer.php" hash="b8bb353e129bf09f5eeb6cc9d21a107c"/></dir><dir name="controllers"><file name="AffiliateController.php" hash="675abd910b45ea4320cd30455c36a200"/></dir><dir name="etc"><file name="config.xml" hash="98de110422ad3fe68c234eebba9c401a"/></dir></dir><dir name="Event"><dir name="Model"><file name="Observer.php" hash="6738b87068e51a739fda753645b8a840"/></dir><dir name="controllers"><file name="CallbackController.php" hash="07f3f39b2edfb9b37e74af7556d7cabf"/></dir><dir name="etc"><file name="config.xml" hash="2243df59895e012f99412670ed16039c"/></dir></dir><dir name="Payout"><dir name="controllers"><file name="PayoutController.php" hash="695c06e005ec0b83147023df0c089a3b"/></dir><dir name="etc"><file name="config.xml" hash="23dbf12c8a05edce63499f19087367a1"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="38d66b1e639cd623f3f255aea2e42665"/><file name="img.phtml" hash="93450ac8ed4df0aa33e29c0c58fbb3b2"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="38d66b1e639cd623f3f255aea2e42665"/><file name="img.phtml" hash="93450ac8ed4df0aa33e29c0c58fbb3b2"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ambassador_Event.xml" hash="531c19fe928c2fd3b008cf00bc865246"/><file name="Ambassador_Affiliate.xml" hash="806b368fde635b60f5dabad5cfa9e1d8"/><file name="Ambassador_Payout.xml" hash="24f665e03b13562e03b871957e959ae2"/></dir></target></contents>
22
<compatible/>
23
+ <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php><extension><name>curl</name><min/><max/></extension><extension><name>json</name><min/><max/></extension></required></dependencies>
24
</package>