This happens when no payment method is activated. It may not be a serious problem, but I believe that white screen is not a good way of presenting something that went wrong for a user
There should be a message saying that no method was selected or anything of the sort
1.Disable all payment methods
PHP Version:
PHP 7.2
EDD Version (or branch):
EDD v 2.9.12
WordPress Version:
wp version 5.2
Any other relevant information:
Sorry for my English. I am using the translator
Thanks for the report. I'll get something worked up.
We show a notice on the checkout if no gateways are defined, we should probably just hide the ability to complete the purchase if there isn't a gateway enabled.
@cklosowski Can't go through the purchase process with a 0.00 cart total on issue/7247. Free Downloads works, but the Complete Purchase button on checkout isn't present when Free Downloads is not in use, and the cart total is 0.00.
I think free payments should still work with no gateway enabled, if possible.
@SDavisMedia good find, fixing
@SDavisMedia actually....I'm not sure that'll work...you'd at least need the test gateway, otherwise it can't set a gateway on the purchase, but i'll see what I can do.
@cklosowski Is Free Downloads bypassing something to make it work? Not saying that's right, but the inconsistency would probably raise some eyebrows. This whole thing is rare anyway, I'm sure.
@SDavisMedia yeah it's hard setting the gateway when you use Free Downloads, since it creates the purchase record in the background.
@SDavisMedia it seemed to work, give it a try?
:+1: Appears to be working correctly for me as well. 0.00 carts work, Free Downloads works, carts with a total work, Recurring does not work with a free trial (good thing). I'm not seeing any weird behavior.
Thanks @SDavisMedia I'll get @pippinsplugins to review it since this affects checkout before we merge.