Ad new payment method
Hello,
Im wondering if someone can help. I am looking to add a new payment method to the selection list called boxpay. It something I have used in my other sites and it allows my users to pay by mobile phone.
I was in the step2.php and found:
<?php if ( $postvals['cp_sys_total_ad_cost'] > 0 ) : ?>
<div class="labelwrapper">
<label><?php _e('Payment Method','appthemes'); ?>:</label>
</div>
<select name="cp_payment_method" class="dropdownlist required">
<?php if ( get_option('cp_enable_paypal') == 'yes' ) { ?><option value="paypal"><?php echo _e('PayPal', 'appthemes') ?></option><?php } ?>
<?php if ( get_option('cp_enable_bank') == 'yes' ) { ?><option value="banktransfer"><?php echo _e('Bank Transfer', 'appthemes') ?></option><?php } ?>
<?php cp_action_payment_method(); ?>
Can I add to this selection list?
This is how the app works:
You initialize the app with a java script placed in the header of your page,
then you provide the user with a link to payment, upon clicking the user is taken to the boxpay app which confirms payment through text & upon confirmation the app continues with the code. Normally I place my form in this hidden section but since the form has already been processed at this stage in classipress what should I put in the hidden code?
I would really apprecieate if anyone can assist.
Many Thanks
Aaron
Continued below in detail: