Hi all. I'm hoping someone will recognise right aw...
# suitecommerce
r
Hi all. I'm hoping someone will recognise right away that I've missed something fundamental... I'm setting up a SCA store for the first time (2019.1) and was all going well. Except now I've just tried to run a test through and after adding items to the cart, when I click 'proceed checkout' I can see the URL change (to the https checkout domain) - but then nothing, just a blank white page. No console errors, just a warning which reads:
Copy code
jQuery.Deferred exception: Cannot read property 'type' of undefined TypeError: Cannot read property 'type' of undefined
    at R.n.setModuleByType (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:21:5948>)
    at R.n.render (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:21:6731>)
    at <https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:37:16383>
    at Function.p.each.p.forEach (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:8:1934>)
    at R.n.render (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:37:16222>)
    at R.n.render (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:37:31478>)
    at R.n.render (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:37:22515>)
    at R.n._showContent (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:31:26499>)
    at R.n.<anonymous> (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:31:24588>)
    at E (<https://checkout.eu1.netsuite.com/c.4588046_SB1/sca-dev-2019-1/javascript/checkout.js?t=1565923110299:8:7909>) undefined
Ce.Deferred.exceptionHook @ backbone.stickit.js:510
I've been trawling through the documentation all day, I can't see where I have missed any setup or what could be causing this. I'm hoping I've just missed something obvious. Any tips/direction greatly appreciated !
m
This is your checkout url right?
r
Hi, yes - and it just won't load
m
Is loading to me, but showing old sb header, did you try it in incoginto mode?
I set a custom checkout URL to see if that was it, but I think it's got something to do with payment methods, maybe Paypal
f
I can see it correctly
r
Hi thanks for looking but it's when you proceed to the billing page specifically once logged in
Ah - resolved it. Was me being stupid as I thought. I don't have a credit card profile set up so was expecting payment method to be presented as invoice. However the customer I logged in as had no terms set in their account - so the site throws an error trying to load a credit card profile that doesn't exist and stops the page rendering.
👍🏻 1