MySQL Download URL
https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz
- Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
<?php | |
//Install the SDK with composer by running "composer require vendoservices/vendo-sdk" | |
include __DIR__ . '/vendor/composer/autoload.php'; | |
$urlToSign = 'https://secure.vend-o.com/v/custom-offer?site=0&type=normal&billing_schedule_type=token&token_amount=2.95&token_quantity=1'; | |
$signer = new \VendoSdk\Util\Signature('your-shared-secret'); | |
$signedUrl = $signer->sign($urlToSign); |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/* | |
USAGE: | |
$urlToSign = 'https://secure.vend-o.com/v/signup?site=123123&affiliate_id=0';//this is just an example | |
$vendoSigner = new VendoSignature('YOUR-SHARED-SECRET'); | |
$signedUrl = $vendoSigner->sign($urlToSign); | |
//Output example: https://secure.vend-o.com/v/signup?site=123123&affiliate_id=0&signature=scKxBO5UlS1vQHxORr3xuBL4Fb8 | |
*/ |
# We need to add these lines to NATS' virtual host configuration | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{QUERY_STRING} ^$ | |
RewriteCond %{REQUEST_URI} track/(.*)(/.*)?$ | |
RewriteRule ^track/(.+)(/(.+))?$ ab/vendo-ab-test.php?nats=$1 [L,NC] |
<?php | |
//NATS' tracker url (with a trailing slash) | |
$natsTrackUrl = 'http://natsv4.staging.vend-o.com/track/'; | |
//NATS' signup url | |
$natsSignupUrl = 'http://natsv4.staging.vend-o.com/signup/signup.php'; | |
$configuration = array( | |
//maps all current tours of SiteID 11 to the new tour (88) configured for the Vendo A/B test | |
'11.*' => '88', //assumes the current tours' traffic is being processed by the other biller. The new tour 88 sends the traffic to Vendo. | |
//The A/B split will occur between all the current tours (A) and the new one configured for Vendo (B) |