I'm getting invalid paymentoption reference key -t...
# ask-stanley-ai
e
I'm getting invalid paymentoption reference key -temporal- for entity xxxx on a guest checkout on SuiteCommerce
c
AI generated answer (using internal Slack threads):
The error message "Invalid paymentoption reference key -temporal- for entity xxxx" typically occurs when there is a mismatch between the payment method and payment option. These are different records with different internal IDs. The confusion often arises because the terminology doesn't seem consistent across schema and documentation. In NetSuite, when you enable payment instruments, a copy of every single payment method is first created as a payment option. The default payment methods with low internal IDs are likely to have a matching payment option because of that. However, this is not guaranteed and everything else is likely to be a mismatch. To resolve this issue, you should use the
getSelectValue
operation to see the valid options for the field. This will help you identify the correct internal ID for the payment option. Also, ensure that the right fields are displayed on the forms. Remember, the payment method field (id paymentoption) contains the options from the payment method list. However, you shouldn't see a payment method field on transactions after you enable payment instruments. It seems the payment option field is labeled "Payment Method" which lends to the confusion. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815552175
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.814129174
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81049633
Please provide your feedback on this answer.