Cart and Checkout Validation Function API

Cart and Checkout Validation Function API

vy2902
Shopify Partner
26 0 0

Hi, i'm using Cart and Checkout Validation Function API to validate my checkout.

But when i add/remove discount or update attribute, this function will re-run and the error message shown on checkout is effected. It disappeared and appeared again.

How can i fix this?

Replies 4 (4)

SBD_
Shopify Staff
1830 273 418

Hey @vy2902 

 

Can you please provide some more info or screenshots/video?

Scott | Developer Advocate @ Shopify 

vy2902
Shopify Partner
26 0 0
SBD_
Shopify Staff
1830 273 418

Got it. Thanks.

 

So to confirm - is this your app displaying the 'Something went wrong' message? and it temporarily disappears when a discount code is added?

Scott | Developer Advocate @ Shopify 

vy2902
Shopify Partner
26 0 0

@SBD_ 

i'm using Cart And Checkout Validation Function API to show 'Something went wrong' message.
and it temporarily disappears when a discount code is added/removed or updated an attribute