Symptoms

There is a custom payment method configured and added to the customer. Attempt to follow the steps in the PCP/RCP: Customer -> Payment Methods > Owner Account > Orders/Subscriptions/other available tabs fails with one of the exceptions:

Table Account doesn't contain row with id Int32(NULL).
Table Account does not contain row with ID .

Cause

Issue is caused by the bug with id #PBA-69044 ("Custom Pay method - Error "Table Account doesn't contain row with id Int32(NULL)." if tab is changed to another one (PM, Subscription)").

Internal content