Ajax send response successfully but PHP dont receive data
I have a shopping cart page and button like `<button class="purchase-button" data-courses-id="<?php echo $coursesID; ?>" onclick="Payment()"> </button>` so when user click on it, the payment form will show and I want to get the ID of the product to display.…