Hello, :slightly_smiling_face: I'm trying to creat...
# suitescript
m
Hello, 🙂 I'm trying to create a payment card on a customer record. We have payment instruments enabled and I'm running into an issue when I try and save the record it sends an error
document is not defined
. Am I supposed to create a payment instrument record then save the card to that and save the instrument record? Or can I save the card and expect it to appear as an instrument? Not finding any documentation on the payment instruments 😕 Here is my post function in my RESTlet
Ope - loaded the customer, but forgot that I needed to apply the entity id to the record.