[WordPress] WooCommerce Stripe Gateway でステートメント記述子に日本語を使いたい場合に使うコード
<?php | |
add_filter( 'woocommerce_stripe_request_body', function( $post_data, $order ) { | |
//カスタマーのクレジットカード明細に載るので実際にはstripeではなく、 | |
//サイト名や会社名の英字表記にする(5〜22文字)。 | |
//記号とかは使わない方がよさそう。 | |
$post_data['statement_descriptor'] = 'stripe'; | |
return $post_data; | |
},10,2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment