728x90
wep6ak commented on 6 Feb 2017
Perhaps your variable |
Redirect should be a string yes, not an array. |
mikejolley closed this on 6 Feb 2017
'WEB > WP(WordPress)' 카테고리의 다른 글
wp_mail( string|array $to, string $subject, string $message, string|array $headers = '', string|array $attachments = array() ) Send mail, similar to PHP’s mail (0) | 2018.04.24 |
---|---|
On the checkout I got an error #12 (0) | 2018.04.24 |
WC_API – The WooCommerce API Callback (0) | 2018.04.23 |
add_query_arg() (0) | 2018.04.20 |
dbDelta( string|array $queries = '', bool $execute = true ) (0) | 2018.04.16 |
Wordpress 4.6.3
WooCommerce 2.6.8
I'm trying to add a custom payment system. I have read the documentation ( https://docs.woocommerce.com/document/payment-gateway-api/ ) and do everything as it says. I have created a plugin, class and all the necessary options. The problem arises in function
process_payment
-- there is no redirect, butError processing checkout
.On Checkaut Page of my site, after submitting the form, I get the following:
What am I doing wrong?