When I try to pay for a subscription in the app, and then I cancel the subscription.
When I log out of the account and switch to a new account, and want to retest the paid subscription function, the following error is displayed.


And the terminal shows those error:
π€βΌ BillingWrapper purchases failed to update: DebugMessage: Account identifiers don't match the previous subscription.. ErrorCode:: DEVELOPER_ERROR.null
E/[Purchases] - ERROR( 7251): π€βΌ PurchasesError(code=PurchaseInvalidError, underlyingErrorMessage=Error updating purchases. DebugMessage: Account identifiers doon't match the previous subscription.. ErrorCode: DEVELOPER_ERROR., message='One or more of the arguments provided are invalid.')
And no matter which account I switch to, the same token is used when creating an order? In other words, when using this app, the user's Google Play account will be bound to the first paid account by default. After that, no matter which account this app switches to, an error message will be displayed when clicking on the payment?
Is there a good solution to keep each account independent? Even if I switch between different accounts in the app, I can still pay for the subscription product?
I tried clearing the cache of the Google Play Store, but it didn't seem to work.