I am trying to allow credit card payments on our s...
# suitecommerce
s
I am trying to allow credit card payments on our suitecommerce website, where instead of authorizing and becoming a cash sale, it "sales" and creates a customer deposit to be applied to an invoice. I am following the NetSuite's steps, but it seems like this process only works if I have the Sales Order Type on Commerce > Websites > Website List - Shopping as "Standard Sales Order". Our finance team would prefer this to be a custom Sales Order form. Has anyone been able to get this process to work on a custom form? I changed it over to our custom form, but when getting to the "billing" step of checkout, I am met with a blank screen.
u
in payment processing profile - you have Auth turned off right ? and just Sale ?
s
Yeah I have auth turned off - if I set the Sales Order Type to "per Customer Basis" with our custom form selected as both card and invoice, and then go to checkout, the "Credit / Debit card" option disappears and only shows the "Invoice" option
What shows if Sales Order Type is Per Customer Basis
What shows if Sales Order Type is set as our custom form (only the logo loads)
u
any browser console errors in that case ^ ?
s
In the developer tools>console, I am getting: ">jQuery.Deferred exception: Cannot read properties of undefined (reading 'instance') TypeError: Cannot read properties of undefined (reading 'instance') at n.renderModule at n.render at Function.ft etc."
I am newer to developing so unsure what to do with that specifically
u
right so there may be a checkout customization causing a problem ? do you know if there are any extensions or customization to the site ?
s
There are a few, my company originally had a contracted developer who was trying to perform the customer deposit at checkout with a customization. I am assuming I should try reactivating the website without some of those extensions to narrow it down?
u
yea start there
1
btw - what is the version of SCA or SC ?
s
SC 2023.1.3
👍 1
I'll start digging and come back if I get more info or get stuck. Thank you so much!
I went through each extension one by one, but was unable to find an extension that removed the error. After removing the CheckoutActivities extension we have, it did change the error to the below: ">jQuery.Deferred exception: Cannot read properties of undefined (reading 'type') TypeError: Cannot read properties of undefined (reading 'type')"
u
Oh on your Pay Processor Profile do you have a Master card or visa set up for it ?
which ever CC you like to accept
s
Yes, I have VISA/MC/Discover/AMEX, and I have the Authorization gateway request type removed - so there is only capture, credit, refund, sale, and void auth
u
and on those Payment methods - lets start with VISA, is it set to display in Web ? and does it have its default image ?
s
All payment methods are set to Display in Wesbite, only Discover does not have the visual image
If I readd authorization to the payment profile, the card fields return, and if I change the Sales Order Type on the configuration to Standard Sales Order, the card fields also return - so I am unsure why choosing a custom sales order form would break the billing section at checkout
u
does it work if its per customer basis ?
maybe you need a Workflow or script to change the form type
s
If I have it at per customer basis, it removes the card fields, but shows the invoice fields if the authorization gateway request is removed. If I add the authorization gateway request back, then it adds the card fields back to checkout.
Workflow/scripting it might be what we need to do - I'll work on that as a solution for now. Thank you!