Bug 1491618

Summary: Message is not refreshed after account was activate by modifying payment before cancellation takes effective
Product: OpenShift Online Reporter: yufchang <yufchang>
Component: Accounts and BillingAssignee: Mike Dame <mdame>
Status: CLOSED CURRENTRELEASE QA Contact: Bing Li <bingli>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, jokerman, mmccomas, yasun
Target Milestone: ---Keywords: OnlinePro
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-09 18:51:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Cancellation message none

Description yufchang 2017-09-14 09:33:50 UTC
Description of problem:
User cancelled his plan service(subscription), Then the account will be in "Inactvie" in Aria.  Web console would be given related message. After user modified "payment method", account will be changed to "Active" again. But in web console , the message is still displayed without refresh. The message is "after your request, your subscription has been cancelled and your plan will no longer automatically renew.  Your payment method will not be charged". This message should disappear.

how reproducible:
always
Steps to Reproduce:
1. Subscripe some addon , for example Memory/Storage/Terminating Memory;
2.Cancel user sevice;
3. Modify "payment method" to activate account;
4. on account overview page, check account's status;

Actual results:
Step 4: On account overview page, Message is still displayed . The message is :
after your request, your subscription has been cancelled and your plan will no longer automatically renew.  Your payment method will not be charged". 

Expected results:
The above message should be refreshed and disappear.

Comment 1 Mike Dame 2017-09-29 19:23:12 UTC
I tried reproducing this bug on the unified-stg and locally, but was unable to. It's possible this was fixed and the bug wasn't updated?

The steps I took were just like in the bug description:
1. Register an account
2. Upgrade memory
3. Cancel account
4. "At your request..." message is displayed
5. Update payment method
6. "At your request..." message is no longer displayed

Putting the ON_QA just to make sure it's still valid

Comment 2 yufchang 2017-09-30 02:44:11 UTC
Hi, Mike
Your steps are right. I tried again. The result of Step 6 : "At your request.." is still displayed. also there are a message prompt in account review.The message is "Subscription has already been canceled". In fact , not cancelled.

I add attachment.

Comment 3 yufchang 2017-09-30 02:47:32 UTC
Created attachment 1332571 [details]
Cancellation message

Comment 4 Mike Dame 2017-10-02 19:50:08 UTC
Tested this with multiple accounts, and can't reproduce any of the error messages described/shown. Though, it is possible that you are seeing this message because of an old account which we wouldn't be able to replicate with.

Could you try to recreate this with a new account?

Comment 5 yasun 2017-10-03 07:35:57 UTC
Create a new account and follow the description step, the 'At your request ..' message has gone, and the cancelled account are active without any error messages.