jamesbar2-shipstation
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # ShipStation - Magento Ship-Notify Issues 6/22/2020 ## Versions reproduced: ### Plugin: Auctane-api-2.1.24 ### Magento store: v2.3.3 & v2.3.4 (note, did not experience issue on prior store v2.3.1) ### Postman: Reproducible with Postman using any 2.3.3+ Magento store with plugin version 2.1.24. ## ISSUE 1: ### High level: “Shipment notification to Magento appears to fail in ShipStation, despite successfully updating the marketplace.” ### Assumption: Magento plugin is returning a 500 response even though the Ship-notify successfully updates Magento order state. ### User experience: In ShipStation this error will return the “red shopping cart” symbol in the shipments section. If a user clicks it, they will see the error message display regarding ship-notify. To the user they think the shipment failed, so they will retry or contact support. ### ERROR MESSAGE (if applicable): "The remote server returned an error: (500) Internal Server Error." Initial notification feed from marketplace notification for order example 000629397 ``` HTTP/1.1 500 Internal Server Error Connection: keep-alive Content-Length: 0 Cache-Control: no-store, no-cache, must-revalidate Content-Type: text/html; charset=UTF-8 ``` ## ISSUE 2: High level: “When retrying the Ship-Notify for the same order, the plugin returns a 200 success, but contains an error message, usually “ Assumption: Magento plugin is returning 200 successfully, but also a fault code which is valid due to the fact only one ship-notify may exist per order. User experience: After the failure displays in ShipStation the user will attempt to retry or contact support to attempt to retry. After the retry, it appears that the notification attempt succeeded, but in reality it actually failed because it was notified the first time. ERROR MESSAGE (if applicable): ``` [?xml version='1.0' encoding='UTF-8'?][fault] [faultcode]400/faultcode[faultstring]Shipment can not be created for Order : 000629397/faultstring/fault ``` Subsequent response from the order example 000629397 ``` HTTP/1.1 200 OK Connection: keep-alive [redacted] [?xml version='1.0' encoding='UTF-8'?][fault] [faultcode]400/faultcode [faultstring]Shipment can not be created for Order : 000629397/faultstring /fault ``` ## ISSUE 3 > (optional, lower priority as we cannot currently reproduce direclty, but is has been reproduced by the community). The issue and open-source fixes have been documented in a few places. We have not verified these officially: https://gist.github.com/Hailong/a0d13065529e03b3493e9cb46a5e115d https://marketplace.magento.com/auctane-api.html ### High level: “In some instances the ship-notify does not process at all for Magento with both http/https or even potentially due to redirect URLs configured by the merchant.“ ### Assumption: Merchant is redirecting a or the particular URL associated to their Magento store domain configuration. The user configures ShipStation to use that URL, but when the attempt is made to POST at that URL, it’s redirected and the plugin never completes the action to create the shipment in Magento. The merchant could also be experiencing some intermediary interference, ie CloudFlare. ### User experience: I attempt to ship-notify through ShipStation to my Magento store and ShipStation shows a green shopping cart (meaning successful response) but the order in Magento contains no shipment at all. ## STEPS TO REPRO - Postman (ISSUE 1 & 2): 1. Create a magento order with product(s) requiring fulfillment in Magento store version 2.3.3+ with the auctane-api2.1.24 plugin installed 2. (POSTMAN) Attempt to “ship-notify” by making the intended POST call to the Magento store. a. You should receive response similar to ISSUE 1 b. Attempt the same call again, receive response described in ISSUE 2 ## STEPS TO REPRO - via ShipStation (ISSUE 1 & 2): Create a magento order with product(s) requiring fulfillment in Magento store version 2.3.3+ with the auctane-api2.1.24 plugin installed, ensure Magento is connected in ShipStation 1. Import order requiring fulfillment into a ShipStation account. 2. Ship the order by creating a label or marking as Shipped. 3. Navigate to Shipments tab, you should see a failed marketplace notification icon. (red cart, Issue 1) 4. Click on failed marketplace notification icon by hovering over the red shopping cart. 5. Click "Retry Failed Steps" to attempt to send the request again. 6. You should see no errors returned and the red shoppoing cart should show green, meaning a successful response 7. OBSERVE! You may see that Retried Failed Steps for order, received 200 response from Magento, though the boy of the response included a 400 fault code with fault string: ``` Shipment can not be created for Order : 000629397 (likely because initial notification was successful) ``` ## TROUBLESHOOTING COMPLETED: -Verified that despite error message and null response, shipment information is updated in Magento. -Retried failed steps from failed marketplace notification, error clears, no new tracking feed is present in Admin Panel. -Confirmed payment is captured after shipping (Invoice After shipping = yes). -Confirmed via Postman -You should be able to reproduce this in any Magento store 2.3.3+

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully