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

How to set Monero payment at 8 digits at check out in woocommerce? #98

Open
starmanted opened this issue May 15, 2021 · 4 comments
Open

Comments

@starmanted
Copy link

XMR defaults payments due at 12 digits. Wallets only send XMR at 8 digits. This causes orders to cancel because of partial payment.

Can this be changed to 8 instead of 12 at check out? If so, how to do it.

Thank you.

@serhack
Copy link
Member

serhack commented May 15, 2021

I think you need to edit this number. I'm not sure at 100%, I need to do some tests but should work.

@starmanted
Copy link
Author

Thanks. That looks like it should work. I have to get into php to do this? I am not a developer. There is no option to edit this line in Woocommerce.

@serhack
Copy link
Member

serhack commented May 16, 2021

Thanks. That looks like it should work. I have to get into php to do this? I am not a developer. There is no option to edit this line in Woocommerce.

Open Plugin editor > Monero Woocommerce Gateway. From the menu on the right choose "monero-woocommerce-gateway.php", go to line 20 and edit the number.

@starmanted
Copy link
Author

Thanks. That was very easy to fix and is working now at 8 digits at check out.

Best of wishes.

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

2 participants