bob12
08-16-2009, 10:10 AM
Okay i finally figure out the problem
the memarea_paymentprocessor template does not have the security token in it, so where do i put this information in the memarea_paymentprocessor template
<table class="tborder" width="100%" align="center" border="0" cellpadding="6" cellspacing="1">
<tbody>
<tr>
<td class="tcat" colspan="4"><strong>{$vbphrase['memarea_shopping_cart']}</strong></td>
</tr>
<tr>
<td class="thead" width="100%"><strong>{$vbphrase['memarea_item']}</strong></td>
<td class="thead" align="center"><strong>{$vbphrase['memarea_cost']}</strong></td>
</tr>
$cart
<tr>
<td class="tfoot" align="right"><strong>{$vbphrase['memarea_total']}</strong></td>
<td class="tfoot" align="center"><strong>{$currency_sym}$price</strong>
</tr>
</tbody>
</table>
<br />
<if condition="$price > 0">
<table class="tborder" width="100%" align="center" border="0" cellpadding="6" cellspacing="1"><tbody>
<tr>
<td class="tcat" colspan="4"><strong>{$vbphrase['memarea_payment_processor']}</strong></td>
</tr>
<tr>
<td class="alt1">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="$paypal">
<input type="hidden" name="item_name" value="$itemname" />
<input type="hidden" name="item_number" value="$itemnumber" />
<input type="hidden" name="amount" value="$price">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="address1" value="{$information['address_1']}">
<input type="hidden" name="address2" value="{$information['address_2']}">
<input type="hidden" name="city" value="{$information['address_city']}">
<input type="hidden" name="zip" value="{$information['address_zip']}">
<input type="hidden" name="country" value="{$information['country']}">
<input type="hidden" name="cancel_return" value ="$vboptions[bburl]/members.php">
<input type="hidden" name="return" value ="$vboptions[bburl]/members.php">
<input type="hidden" name="currency_code" value="$curr">
<input type="hidden" name="notify_url" value="$vboptions[bburl]/mem_payment.php">
<input type="hidden" name="first_name" value="$first_name">
<input type="hidden" name="last_name" value="$last_name">
<table class="tborder" width="98%" align="center" border="0" cellpadding="6" cellspacing="1">
<tbody>
<tr>
<td class="tcat">
<strong>PayPal</strong>
</td>
</tr>
<tr>
<td class="alt1" valign="top" width="100%">{$vbphrase['memarea_paypal_info']}</td>
</tr>
<tr>
<td class="alt1">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="">
</td>
</tr>
</tbody>
</table>
</form>
</td>
</tr>
</tbody>
</table>
<else />
<table class="tborder" width="100%" align="center" border="0" cellpadding="6" cellspacing="1">
<tr>
<td class="alt1">$vbphrase[memarea_license_active] $licnum</td>
</tr>
</table>
</if>
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
under
<input type="hidden" name="s" value="$session[sessionhash]" />
in the templates for the mod find the above template code then add
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
the memarea_paymentprocessor template does not have the security token in it, so where do i put this information in the memarea_paymentprocessor template
<table class="tborder" width="100%" align="center" border="0" cellpadding="6" cellspacing="1">
<tbody>
<tr>
<td class="tcat" colspan="4"><strong>{$vbphrase['memarea_shopping_cart']}</strong></td>
</tr>
<tr>
<td class="thead" width="100%"><strong>{$vbphrase['memarea_item']}</strong></td>
<td class="thead" align="center"><strong>{$vbphrase['memarea_cost']}</strong></td>
</tr>
$cart
<tr>
<td class="tfoot" align="right"><strong>{$vbphrase['memarea_total']}</strong></td>
<td class="tfoot" align="center"><strong>{$currency_sym}$price</strong>
</tr>
</tbody>
</table>
<br />
<if condition="$price > 0">
<table class="tborder" width="100%" align="center" border="0" cellpadding="6" cellspacing="1"><tbody>
<tr>
<td class="tcat" colspan="4"><strong>{$vbphrase['memarea_payment_processor']}</strong></td>
</tr>
<tr>
<td class="alt1">
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="$paypal">
<input type="hidden" name="item_name" value="$itemname" />
<input type="hidden" name="item_number" value="$itemnumber" />
<input type="hidden" name="amount" value="$price">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="address1" value="{$information['address_1']}">
<input type="hidden" name="address2" value="{$information['address_2']}">
<input type="hidden" name="city" value="{$information['address_city']}">
<input type="hidden" name="zip" value="{$information['address_zip']}">
<input type="hidden" name="country" value="{$information['country']}">
<input type="hidden" name="cancel_return" value ="$vboptions[bburl]/members.php">
<input type="hidden" name="return" value ="$vboptions[bburl]/members.php">
<input type="hidden" name="currency_code" value="$curr">
<input type="hidden" name="notify_url" value="$vboptions[bburl]/mem_payment.php">
<input type="hidden" name="first_name" value="$first_name">
<input type="hidden" name="last_name" value="$last_name">
<table class="tborder" width="98%" align="center" border="0" cellpadding="6" cellspacing="1">
<tbody>
<tr>
<td class="tcat">
<strong>PayPal</strong>
</td>
</tr>
<tr>
<td class="alt1" valign="top" width="100%">{$vbphrase['memarea_paypal_info']}</td>
</tr>
<tr>
<td class="alt1">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" border="0" name="submit" alt="">
</td>
</tr>
</tbody>
</table>
</form>
</td>
</tr>
</tbody>
</table>
<else />
<table class="tborder" width="100%" align="center" border="0" cellpadding="6" cellspacing="1">
<tr>
<td class="alt1">$vbphrase[memarea_license_active] $licnum</td>
</tr>
</table>
</if>
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
under
<input type="hidden" name="s" value="$session[sessionhash]" />
in the templates for the mod find the above template code then add
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />