Important Reminder (Potential Breaking Change)
š§ å³å°äøē· - Upcoming
Q3, 2025 Reminder on SHOPLINE Cart & Checkout Page Revamp - Potential Impact on Apps using Storefront App Extensions
This announcement provides important information regarding an upcoming revamp of the Cart Page on the SHOPLINE platform
Background on the Revamp
The current checkout flow revamp involves significant changes to the front-end architecture, including the Cart Page & Checkout Page. While we are working to ensure a smooth transition, we recognize that these changes, particularly to the Document Object Model (DOM) structure, CSS classes, JavaScript events, etc, may impact existing storefront app extensions.
For example, app use cases and implementation that rely on specific "anchor" points (e.g., HTML element IDs, class names, or specific positions within the page structure) for injecting content, modifying styles, or attaching event listeners may experience:
- Misalignment or incorrect placement: Your app's UI elements might not appear where intended.
- Non-functional features: Features that interact with specific DOM elements might cease to work.
- Visual issues: Your app's styling might be affected by the new page structure.
Required Actions for Developers:
To prepare for these changes and ensure the continued compatibility of your storefront app extensions, we urge you to evaluate if following actions are needed:
- Participate in Alpha/Beta Programs
- Request to be added to beta list & review the cart page in testing Store
- Request to be added to beta list & review the checkout Page Testing Store (Coming Soon)
- Please contact our partnership team
- Update Your App Extensions
- Based on your testing result, update your app extensions to align with the new cart & checkout page structure and ensure full compatibility
Identifying the New Cart Page Version during Beta phase:
During the beta phase, the backend determines the traffic split and communicates the assigned version to the frontend.
For backward compatibility and support concerns, you can determine which version of the cart page a customer is using by checking the browser's cookies. There will be a checkout_revamp key in the browser cookie.
- If the checkout_revamp key's value is control, the customer is on the old version.
- If the checkout_revamp key's value is variation, the customer is on the new version.
Timeline:
Please notify SHOPLINE if you have any questions. Once partners have joined the Alpha & Beta phase, the feature release timeline will be communicated through the subsequent channel. We understand that breaking changes can be challenging, and we are committed to providing you with the necessary support to ensure a smooth transition.
Thank you for your understanding and cooperation.
Sincerely,
SHOPLINE Open Platform Team
Q3, 2025 SHOPLINE č³¼ē©č»čēµåø³é é¢ę¹ēęé ā å°ä½æēØ Storefront App Extensions ēęēØēØå¼åÆč½é ęēå½±éæ
ę¬å ¬åęØåØęä¾ęØéę¼ SHOPLINE å¹³å°å³å°é²č”ēč³¼ē©č»é é¢ę¹ēēéč¦č³čØ
čęÆļ¼
ēµåø³ęµēØę¹ēå°å°å端ę¶ę§ļ¼å ę¬č³¼ē©č»é é¢åēµåø³é é¢ļ¼é²č”éę§ćåē®”ęåę£åŖå確äæē³»ēµ±ē©©å®ę§ļ¼ä½ęåęčå°éę§ļ¼ē¹å„ęÆå°ęä»¶ē©ä»¶ęØ”å (DOM) ēµę§ćCSS é”å„ćJavaScript ēēę¹åļ¼åÆč½ęå½±éæē¾ęē Storefront App Extensions 使ēØč ć
ä¾å¦ļ¼ä¾č³“ē¹å®ćéØé»ćļ¼ä¾å¦ļ¼HTML å ē“ IDćé”å„å稱ęé é¢ēµę§äøēē¹å®ä½ē½®ļ¼ä¾ę³Øå „å §å®¹ćäæ®ę¹ęØ£å¼ęéå äŗä»¶ē£č½åØēęēØēØå¼ēØä¾å實ä½ļ¼åÆč½ęéå°ä»„äøę ę³ļ¼
- éÆä½ęäøę£ē¢ŗēę¾ē½®ļ¼ ęØēęēØēØå¼ä½æēØč ä»é¢å ē“ åÆč½ē”ę³ęé ę锯示ć
- åč½å¤±ęļ¼ čē¹å® DOM å ē“ äŗåēåč½åÆč½ęåę¢éä½ć
- č¦č¦ŗéé”ļ¼ ęØēęēØēØå¼ē樣å¼åÆč½ęåå°ę°é é¢ēµę§ēå½±éæć
éē¼č
ęéę”åä¹č”åļ¼
ēŗäŗęå°éäŗč®å並確äæęØē Storefront App Extensions č½å¤ ęēŗēøå®¹ļ¼ęåę¦äæęØč©ä¼°ęÆå¦éč¦ę”å仄äøč”åļ¼åč Alpha/Beta čØåļ¼
- ē³č«å å „ Beta å蔨並åØęø¬č©¦ååŗäøåÆ©ę„č³¼ē©č»é é¢
- ē³č«å å
„ Beta å蔨並åØęø¬č©¦ååŗäøåÆ©ę„ēµåø³é é¢ļ¼å³å°ęØåŗļ¼
å¦ęéč¦ļ¼č«čÆē¹«ęåēåä½å¤„伓åéē³č«
ę“ę°ęØēęēØēØå¼ę“å åč½ļ¼ ę ¹ęęØē測試ēµęļ¼ę“ę°ęØēęēØēØå¼ę“å åč½ļ¼ä½æå ¶čę°ēč³¼ē©č»čēµåø³é é¢ēµę§äæęäøč“ļ¼äø¦ē¢ŗäæå®å Øēøå®¹ć
åØ Beta éꮵčå„ę°ēč³¼ē©č»é é¢ļ¼
åØ beta éꮵļ¼å¾ē«Æęå°ęµéåé å°äøåēēę¬äø¦å³é給å端ćēŗäŗåå¾å ¼å®¹åęę„ęÆę“čéļ¼ęØēęēØēØå¼åÆä»„ééęŖ¢ę„ēč¦½åØ Cookie ä¾å¤ę·é”§å®¢ä½æēØēęÆåŖåēę¬ēč³¼ē©č»é é¢ćēč¦½åØ Cookie äøå°ęęäøå checkout_revamp ēéµå¼ ć
- å¦ę checkout_revamp éµēå¼ēŗ controlļ¼å锧客ę£åØä½æēØčē ć
- å¦ę checkout_revamp éµēå¼ēŗ variationļ¼å锧客ę£åØä½æēØę°ē ć
ęé軸ļ¼
å¦ęęØęä»»ä½ēåļ¼č«éØęéē„ SHOPLINEćäøę¦åä½å¤„伓å å
„ Alpha å Beta éꮵļ¼åč½ē¼åøęé軸å°ééå¾ēŗē®”éé²č”ęŗéć
ęåēč§£ęÆęę¤é大č®ę“åÆč½å
滿ęę°ļ¼ä½ęåč“åę¼ęä¾ęØåæ
č¦ēęÆę“ļ¼ä»„確äæå¹³ē©©éęø”ćęč¬ęØēēč§£čåä½ć
ę¤č“ļ¼
SHOPLINE Open Platform Team
āļø å·²äøē· - Released
Mar. 27, 2025 App Webhook ē°åļ¼čŖæę“ remove ēøé Topic ē Payload ēµę§ļ¼App Webhook Update: Changes to Payload Structure for Remove-Related Topicsļ¼
é čØäøē·ęé Target Release Date
- é čØäøē·ęé Target Release Date : Mar. 27, 2025
- éē„å ¬åę„ę Announce Date : Nov. 29, 2024
å½±éæēÆå Scope of Impact
åŖå½±éæéé Developer Center čØé±ēä»„äø App webhook topicsļ¼äøå½±éæéé Open API 仄 staff token čØé±ē Merchant webhook topicsć
This change only affects the following app webhooks subscribed to via the Developer Center. Merchant webhooks subscribed through the Open API using a staff token will not be impacted.
app_metafields/removecategory/removechannel/removedelivery_option/removemembership_tier/removemetafields/removemetafield_definitions/removeorder/removepayment/removeproduct/removetag/removeuser/remove
ē°åę
ę³ Description of Changes
åŗę¼åŗå±¤ę¶ę§åŖåčęØęŗåļ¼App webhooks äø remove ēøé topics ēresource ę¬ä½å
ęē¼é idļ¼resource ę¬ä½å
¶é¤ payload å°åę¢ē¼éć
As part of our infrastructure optimization and standardization efforts, the resource field in remove-related app webhook topics will only include the id. All other payload data of resource field the will no longer be sent.
{
"event": "Product",
"merchant_id": "6327e262c7ef5b176ba75166",
"resource": {
"id": "651150e49e161b00408e40bf"
},
"topic": "product/remove",
"trace_id": "51c34d32-8f9f-46d5-ac6a-ef833adc3d7a",
"ts": "1695712956784492000"
}建č°äæ®ę¹ Suggestions for Modification
č«ęŖ¢ę„ App ēØå¼ē¢¼å
§ęÆå¦ęčØé±äøčæ° remove ēøé App webhook topicsļ¼å¦ę使ēØresource ę¬ä½äøē payloadļ¼é¤idä¹å¤ļ¼č«åæä½æēØå
¶ä»åå³ē payload å¼ć
Please review your app code to check if it subscribes to the above-mentioned remove-related app webhook topics. If your code utilizes the payload in the resource field, ensure that only the id is used and avoid relying on any other returned payload values.
2024 Webhook topics transition - webhook topic å稱ę¹å
é čØäøē·ęé Target Release Date
- é čØäøē·ęé Target Release Date : ETA 2024 å §
- éē„å ¬åę„ę Announce Date : Feb 5, 2024
å½±éæēÆå Scope of Impact
åŖå½±éæéé Developer Center čØé±ēä»„äø App webhooksļ¼äøå½±éæéé Open API 仄 staff token čØé±ē Merchant webhooksć
This change only affects the following app webhooks subscribed to via the Developer Center. Merchant webhooks subscribed through the Open API using a staff token will not be impacted.
user/new_memberwebhookuser/send_info_rewardwebhook
ē°åę
ę³ Description of Changes
- ę¹ååå ļ¼å å¼·åŗå±¤ę¶ę§åŖåč customer webhook ęØęŗåēåæ č¦ę¹å
- é čØåę¢ē¼é
user/new_memberwebhook åuser/send_info_rewardwebhook
建č°äæ®ę¹ Suggestions for Modification
user/new_memberwebhook --> č«ę¹čØé±customer/new_memberwebhook (å³ę„čµ·å·²éę¾čØé±)user/send_info_rewardwebhook --> č«ę¹čØé±customer/send_info_rewardwebhook (å³ę„čµ·å·²éę¾čØé±)- č«äæ®ę¹ APP ēØå¼ē¢¼č£”é¢č§£ę topic ēéØåļ¼ē±
user/ę¹ęčŖcustomer/
Aug 21, 2024 Go Version Upgrade & potential Webhook Signature breaking change
Background
We are doing Go version upgrade. As part of the update, our system will handle special characters according to the RFC 8259 standard. This change aim to reduce the chance of signature mismatches and enhance the reliability of webhook interactions.
Scope of Impact & Description of Changes
Scope of Impact:
The special character handling logic of webhook signatures, which is used to verify that the payload is sent by SHOPLINE.
Description of Changes:
- After upgrading to the new Go version, Go will follow the RFC8259 standard for handling special characters.
- As part of this update, the system will add support for the \b and \f characters. This means that our system will handle all five control characters (\b, \f, \n, \r, \t) according to the RFC8259 standard.
Summary Table
Aspect | As is | To be |
|---|---|---|
Special Character Handling & Signature Verification | Special characters are not always handled according to RFC 8259. For example, a payload containing special characters like \b and \f was previously not handled according to the RFC8259 standard. Risk of incorrect handling of special characters can cause signature mismatches, affecting verification. | With the new Go version, special characters \b and \f will also be consistently handled and escaped according to RFC 8259. Aligning to the same standard ensures the correct handling and therefore accurate signature verification, preventing mismatches. |
Example for illustration | For example, content with \b would be converted to \u0008. | For example, content with \b will be retained as-is, without conversion. |
Suggestion / Action Item
Review if these changes could affect your system logic ļ¼ ensure that the handling of special characters in webhook signatures' JSON payloads is based on RFC 8259 in order to avoid this risk of signature mismatches.
Updated 2 months ago
