Do you know if it is possible to create a suitelet...
# suitescript
e
Do you know if it is possible to create a suitelet to handle multiple invoice payments? The idea is to have a payment link on customer statements (open invoices) to allow customers to select which invoices they want to pay and then somehow leverage the payment processing profile (Cybersource) to handle the credit cards and get back a response to finally create the customer payments or display any error message. I know there are a lot more involved here, so I would like to know your experience on similar scenarios.
b
You should be a lot more concerned about how to handle credit card numbers in a pci compliant way
e
Yeah, that's exactly my concern, for that reason I'm trying to see if Cybersource can handle this but I handle what invoices get paid.
b
the work required to implement payment processing will eclipse the work required to handle what invoices get paid. The requirements you shared only represent the actual problem if you already have a website that gives you a customer center role that allows customer to store their credit cards for use in things like Direct Invoice Payment
e
I'm not trying to create my own payment processing profile to be clear. The payment link provided by Netsuite only applies for invididual invoice, we are evaluating how feasible is to create a custom payment link for multiple but connecting with the current payment processing profile somehow and leverage all the heavy lift to them.
b
make your suitelet only work for existing payment methods, then provide the same link that netsuite uses to add new payment methods to customers
👍 1
e
Thanks @Bryan Miller, yeah they already have this or probably the native from NetSuite but it is per invoice, they want to be able to paid multiple invoices at once.
1
h
Have you heard of the HITC Easy Payment bundle? Sounds like it would be helpful for what you need. There is a YouTube video which shows a demo on how it works and what you can do with it:

https://www.youtube.com/watch?v=cS-Z0cEs_s8

Hope that helps! :)
m
^ There is also a similar open source module here that shows how to use a suitelet to create cash sales using credit card profiles: https://github.com/headintheclouddev/hitc-netsuite-easy-sale
b
that github repository is an example of something that will increase your responsibilities for pci compliance. You do not want your code to process credit card numbers serverside. NetSuite warns you about Payment Card Number Security and Compliance. Do not treat credit cards the same way netsuite does unless you are willing to be assessed to a similar level. You want to keep the credit card numbers clientside. I would be extremely wary of that Easy Payment bundle if you think it is implemented the same as that github repository