subscribepro-magento2-ext
subscribepro-magento2-ext copied to clipboard
Admin reorder on a guest order does not work
The issue
I know most people don't use the subscribe pro payment method for guest orders. But if you do you'll get an error when trying to use the reorder functionality in the admin:
Transaction has been declined. Please try again later.
Which is masking:
Cannot create payment profile.
vendor/subscribepro/subscribepro-magento2-ext/Gateway/Command/AbstractProfileCreatorCommand.php
The solution
The payment form has the hidden field payment[is_active_payment_token_enabler] hard coded to 'true'. This should be false for guest orders.