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
Luiz Morais
08/18/2026, 8:49 AM
Are you setting the Payment Method first? Is this PM marked as “Offline”?
s
suiteExperimenter
08/18/2026, 9:35 AM
Yes. it is setting the PM first and the type is Payment Card instead of Offline. Should it be offline?
suiteExperimenter
08/18/2026, 1:41 PM
is this something that needs the Payment Instrumensts to be online?
l
Luiz Morais
08/18/2026, 2:29 PM
If I’m not wrong when it’s Payment Card you need to also fill the PN Ref
Luiz Morais
08/18/2026, 2:30 PM
I was looking into the code that I did that but the PM was offline so I just set ccapproved as true