problem with order-receipt.php
-
Hello dear developers! Please tell me how you can force this hook:
<?php do_action( 'woocommerce_receipt_' . $order->get_payment_method(), $order->get_id() ); ?>
be processed on the server side and not on the user side? Maybe there is an opportunity to redirect to this hook:<?php do_action( 'woocommerce_receipt_' . $order->get_payment_method(), $order->get_id() ); ?>
so that you can bypass this page: https://test.wpcart.ru/checkout/order-pay/49/?key=wc_order_pTrGJt9aDBLXe&order=49
The thing is, on this page, any user in the open developer panel can change the value: SUM, for any. And thereby buy the product at any lowest price!
Here is an example of how a user can easily change the price of a product!
After changing the price, and clicking on the button: Go to payment
The user can pay for the product at his own price, and not the offered price of the site.
I think this is a serious problem, especially if these are digital goods. Since the user gets access to download the product after such a payment!
The page I need help with: [log in to see the link]
- The topic ‘problem with order-receipt.php’ is closed to new replies.