When a customer is checking out an order with an item with frequency we are going to automatically save the payment details. If then the customer buys another order that includes a subscription and use the customer payment source of the wallet to place the order, the customer payment source shouldn't be saved again.
Steps to Reproduce
Checkout an order with item with frequency and a customer token
Checkout another order with item with frequency and a customer token paying with the customer payment source saved in the wallet from the previous checkout
Checkout another order and find the same customer payment source saved twice.
Expected Result
The expected result was to save the customer payment source only once on the customer wallet.
Actual Results
The actual result was that the customer payment source is saved twice.
Description
When a customer is checking out an order with an item with
frequency
we are going to automatically save the payment details. If then the customer buys another order that includes a subscription and use the customer payment source of the wallet to place the order, the customer payment source shouldn't be saved again.Steps to Reproduce
frequency
and a customer tokenfrequency
and a customer token paying with the customer payment source saved in the wallet from the previous checkoutExpected Result
The expected result was to save the customer payment source only once on the customer wallet.
Actual Results
The actual result was that the customer payment source is saved twice.