@X8smile, Thank you so much it worked!
I have one more issue related to stripe payment gateway.
When I tried to do payment via test api key, payment proceed successfully. but when I disable test mode and tried with live api key. payment does not proceed. It stuck on enroll course button. I have tried couple of times and now my credit card is blocked by my bank for internet transactions.