Create other payment gateway question.
After i follow the Google checkout plugin to create other payment gateway. I get 3 problems.
1. what values i can use in this $order_vals array????
2. why after i add a new option of the pay method it just replace the google checkout one? Here is the code
function paymate_add_gateway_option() {
global $app_abbr, $gateway_name;
if ( get_option( $app_abbr.'_enable_ppcheckout' ) == 'yes' ) {
echo '<option value="ppcheckout">' . __( 'Paymate Checkout', 'ppc' ) . '</option>';
}
}
add_action( 'cp_action_payment_method', 'paymate_add_gateway_option' );
3. The final check out process will be do at the bank website. so i need to open sum link like this:
https://www.paymate.com/PayMate/Expr...mt=100&ref=123
How could i redirect to that url??
Thanks