You have successfully redeemed your voucher for a Swing Profile subscription.
‘;
}
}
} else if (isset($output[‘result’])) {
// Error handling
$result = $output[‘result’];
if ($result == ‘2’) {
// Invalid code
echo ‘
Invalid voucher code. Please enter the code again. If the problem persists please contact info@swingprofile.com for further assistance.
‘;
} else if ($result == ‘3’) {
// Voucher already claimed
echo ‘
Voucher has already been redeemed. Please contact info@swingprofile.com for further assistance.
‘;
}
}
}
// Show form to enter voucher code
echo ‘
‘;
}
?>
[product_category category=”mobileholders”]