aztemi / wc-solana-pay

Solana Pay powered payment gateway for WordPress and WooCommerce
https://wordpress.org/plugins/wc-solana-pay/
GNU General Public License v3.0
7 stars 0 forks source link

User account handling happens after user paid. Needs to happen before #25

Closed t4top closed 6 months ago

t4top commented 6 months ago

make a user account in wp or woo. and then logout then try to place na order and pay for while using the same email address. the payment will go through, but the order will fail as woocommerce will say ” the user already has an account with that emaik address, and they have to login first.

resulting in payment received but order data lost.

It is better to have the user pay on the thank you page, just like other plugins like btcpay and mycrytocheckout. Because it happens more often that customers send slightly the wrong amount etc, resulting in payment received but lost order data.

if the above is not possible, then at least the plugin needs to check the accout logic, before prompting the user to pay

Issue originally reported on the WordPress Support forum.