Hi All,
I'm trying to get the pay for events functionality working. I've been told that this was present in previous versions of Dolphin, but has been removed from the latest version.
What's puzzling me is that the code on inc/classes/BxDolEvents.php seems to indicate that the functionality is still there (although bare in mind I'm a php novice)
See the code below - lines 1011 - 1024
Surely what this does is look to see if a ticket price has been set, and if it has sends the user to the checkout
Or am missing I something?
thanks in advance
Phil
if ( $iTicketPrice > 0.0 ) {
$sInnerData .= <<<EOF
{$sCanBuyTicketC}<br />
<center>
<form id="buyTicketForm" action="{$site['url']}checkout.php" method="post" style="margin: 2px;">
<input type="hidden" name="action" value="collect" />
<input type="hidden" name="checkout_action" value="speeddating" />
<input type="hidden" name="data" value="{$iEventID}" />
<input type="hidden" name="amount" value="{$iTicketPrice}" />
<input type="submit" class="no" value="{$sBuyTicketC}" style="width: 100px; vertical-align: middle;" />
</form>
</center>
EOF;