10 Piece Makeup Brush Set for Beauty and Blending
<script type="text/javascript">
function shippingRequiredPayFast (formReference) {
let cont = true;
for( let i = 0; i < formReference.elements.length; i++ ) {
if( formReference.elements[i].className !== 'shipping' )
continue;
if( formReference.elements[i].name === 'line2' )
continue;
if( !cont )
continue;
if( formReference.elements[i].name === 'country' ) {
if( formReference.elements[i].selectedIndex === 0 ) {
cont = false;
alert ( 'Select a country' );
}
} else{
if( 0 === formReference.elements[i].value.length || /^\s*$/.test( formReference.elements[i].value ) ) {
cont = false;
alert ( 'Complete all the mandatory address fields' );
}
}
}
if( !cont ) {
return cont;
}
}
</script>
<script type="text/javascript">
function customQuantitiesPayFast (formReference) {
formReference['amount'].value = formReference['amount'].value * formReference['custom_quantity'].value;
return true;
}
</script>
<script type="text/javascript">
function actionPayFastJavascript ( formReference ) {
let shippingValid = shippingRequiredPayFast( formReference );
let shippingValidOrOff = typeof shippingValid !== 'undefined' ? shippingValid : true;
let customValid = shippingValidOrOff ? customQuantitiesPayFast( formReference ) : false;
if (typeof shippingValid !== 'undefined' && !shippingValid) {
return false;
}
if (typeof customValid !== 'undefined' && !customValid) {
return false;
}
return true;
}
</script>
<form onsubmit="return actionPayFastJavascript( this );" name="PayFastPayNowForm" action="https://payment.payfast.io/eng/process" method="post">
<input required type="hidden" name="cmd" value="_paynow">
<input required type="hidden" name="receiver" pattern="[0-9]" value="12266479">
<input type="hidden" name="return_url" value="https://nuraglow.shop">
<input type="hidden" name="cancel_url" value="https://nuraglow.shop">
<input type="hidden" name="notify_url" value="https://nuraglow.shop">
<table>
<tr>
<td><label id="PayFastAmountLabel" for="PayFastAmount">Amount: </label></td>
<td><input required id="PayFastAmount" type="number" step=".01" name="amount" min="5.00" placeholder="5.00" value="419.62"></td>
</tr>
</table>
<table>
<tr>
<td><label for="custom_quantity">Quantity: </label></td>
<td><input required id="custom_quantity" type="number" name="custom_quantity" value="1"></td>
</tr>
</table>
<input required type="hidden" name="item_name" maxlength="255" value="10 Piece Makeup Brush Set for Beauty and Blending">
<input type="hidden" name="item_description" maxlength="255" value="Soft makeup brushes for flawless blending. Perfect for foundation, powder, blush, contoureyeshadow. Lightweight, durable and easy to clean for professional everyday makeup application">
<table>
<tr>
<td colspan="2"><span style="font-weight: bold;">Shipping Address</span></td>
</tr>
<tr>
<td><span style="color:red;">*</span> Line 1</td>
<td><input type="text" name="line1" class="shipping" value=""></td>
</tr>
<tr>
<td>Line 2</td>
<td><input type="text" name="line2" class="shipping" value=""></td>
</tr>
<tr>
<td><span style="color:red;">*</span> City</td>
<td><input type="text" class="shipping" name="city" value=""></td>
</tr>
<tr>
<td><span style="color:red;">*</span> Province</td>
<td><input type="text" class="shipping" name="region" value=""></td>
</tr>
<tr>
<td><span style="color:red;">*</span> Country</td>
<td>
<select name="country" class="shipping">
<option value="" selected="selected">- Select -</option>
<option value="South Africa">South Africa</option>
<option value="">------------------------</option>
<option value="Botswana">Botswana</option>
<option value="Lesotho">Lesotho</option>
<option value="Mauritius">Mauritius</option>
<option value="Mozambique">Mozambique</option>
<option value="Swaziland">Swaziland</option>
<option value="Zimbabwe">Zimbabwe</option>
</select>
</td>
</tr>
<tr>
<td><span style="color:red;">*</span> Postal Code</td>
<td><input type="number" name="code" class="shipping" value=""></td>
</tr>
</table>
<table>
<tr>
<td colspan=2 align=center>
<input type="image" src="https://my.payfast.io/images/buttons/BuyNow/Primary-Large-BuyNow.png" alt="Buy Now" title="Buy Now with Payfast">
</td>
</tr>
</table>
</form>