woocommerce-gateway-paypal-express-checkout
woocommerce-gateway-paypal-express-checkout copied to clipboard
PP Checkout offered as option for Subs without Reference Transaction and Manual Renewals enabled
Describe the bug
It is my understanding that in order for PP Checkout to work with Subs, Reference Transactions must be enabled in the account. If Manual Renewals are enabled in Subs, it should still be allowed, since the customer can manually log in and pay. In my testing I found if an account without Ref Transactions is used, and Manual Renewals are not enabled, PP Checkout is still an option to pay.
To reproduce
- Add PP API info for an account without Reference Transactions
- Disable Manual Renewals
- View a Subscription product, and the smart payment buttons will show if you have them enabled.
- Add to cart, and you will see the option in checkout, as well.
Expected behavior
For PP Checkout to not to be available if it isn't going to allow a proper subscription.