I have an online shop, using wordpress with woocommerce. The paypal settings is currently in sandbox mode.
The amount is correct when you go to the checkout page. But when I select the paypal checkout option, gets redirected to the paypal checkout, the amount is always zero. Image for reference.
Important note: The default currency in my shop is AED - this currency is currently not supported by paypal. Thus, it needs to be converted to USD upon checking out. ( USD is the default currency in my paypal account )
How do I test if this is the cause of the problem?
EDIT: I've changed the default currency of the shop to USD but still, the checkout amount is still 0.
EDIT 2: My website does not have an SSL (http only), is that part of the issue?
WP_DEBUG
in this case specificallyWP_DEBUG_LOG
could be useful. – helgatheviking