You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added e2e test for email and sms opt-in checkboxes
Added sms and email opt-in e2e tests for sitegen
Moved global variables to module
Added unit test for subscriptions
Refactored order confirmation unit test
Setup mock for KlaviyoSubscribeProfilesService
Refactor Site and LocalServiceRegistry Mocks
Completed subscriber tests
// Case 2: Subscribe request is made to Klaviyo to the email channel, including both email and phone number. Response is not successful (400) and response contains an error message indicating phone number was invalid:
23
+
}elseif(dataObj.email&&phone===undefined){
24
+
response.statusCode=400,
25
+
response.errorText='The phone number provided either does not exist or is ineligible to receive SMS',
// Case 3: Subscribe request is made to Klaviyo to the email channel, including both email and phone number. Response is not not successful (400) and response does not contain an error message indicating phone number was invalid:
0 commit comments