buy now button redirecting to same url not to payment gateway
hello
i have installed the latest classipress 3.4 and activated/installed dealpress. i have mad necessary payment setting in payments--->settings. I made testing with bank transfer or paypal both not working. for testing payment gateway i posted with deal option "sell online" deal.when i click "buy now" button in item details page it redirecting to same page or url. not proceeding to payment gateway (i.e either bank transfer or paypal). i made testing by selecting "only paypal" or "only bank trans " or both same problem.
I have tested same user for buying packages via user dashborad link---->buy packages.... it is redirecting to bank transfer page.
so where exactly the problem? plz send path or code location to do setting.
note- seller & buyer have active paypal mail too and is updated in seller & buyer profile.
i just looked around coding related above
if($deal_option == 'Sell Online'){
if ( is_user_logged_in() ) :
?>
<form method="POST" action="" name="deal" class="deal_now">
<input name="dl" type="hidden" value="<?php echo $dealid; ?>" />
<input name="submit" type="submit" value="<?php _e( 'Buy Now', RW_DP_TD ); ?>" class="deal" />
</form>
<?php
else :
echo html( 'a', array( 'href' => wp_login_url(), 'class' => 'deal deal_now' ), __( 'Buy Now', RW_DP_TD ) );
endif;
}
}
endif;