Hello, I am trying set the ccapproved field to tr...
# suitescript
s
Hello, I am trying set the ccapproved field to true of a Customer Deposit via sutescript but it is not setting. Is there anything I need to check? Thanks!
l
Are you setting the Payment Method first? Is this PM marked as “Offline”?
s
Yes. it is setting the PM first and the type is Payment Card instead of Offline. Should it be offline?
is this something that needs the Payment Instrumensts to be online?
l
If I’m not wrong when it’s Payment Card you need to also fill the PN Ref
I was looking into the code that I did that but the PM was offline so I just set ccapproved as true