Pay order again feature

I am using latest cs-cart ultimate.

Customer placed order, in checkout picked a offline payment method, no actual payment done.
I have applied a discount to order.
Customer logged in to his account and used pay order again feature but changed payment method to stripe instead of offline selected before.
Order was paid in success.

In admin panel order details page I have following
Payment method Offline
Transaction ID xxxxxxxxxxxx (from stripe)
Order status Paid (from stripe)

Why payment method did not change?


I was unable to reproduce this issue in the clean CS-Cart installation. The payment method was changed correctly when paying via Stripe and the order was in the status with Repay enabled.