Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-fill customer email on CoinGate Invoice from WooCommerce Order #14

Open
brnbs opened this issue Sep 9, 2022 · 0 comments
Open

Pre-fill customer email on CoinGate Invoice from WooCommerce Order #14

brnbs opened this issue Sep 9, 2022 · 0 comments

Comments

@brnbs
Copy link

brnbs commented Sep 9, 2022

According to the CoinGate API, it is possible to send the billing address from WooCommerce to the CoinGate Payment page, see purchaser_email field on the Create Order method:

So please modify the $params array at this location to include purchaser_email field:

'description'      => implode( ', ', $description ),
'purchaser_email'   => $order->get_billing_email(),

This makes the checkout process easier for customers because they don't have to enter their email address twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant