Title: &#8220;Undefined&#8221; in try again button on Zipcode error
Last modified: August 5, 2020

---

# “Undefined” in try again button on Zipcode error

 *  Resolved [artifexmedia](https://wordpress.org/support/users/artifexmedia/)
 * (@artifexmedia)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/undefined-in-try-again-button-on-zipcode-error/)
 * In the ‘try again’ button when filling an unknown zipcode, the button shows value‘
   undefined’ instead of ‘try again’.
 * With latest WP, WC, PostNL versions. Also with Storefront theme.
 * Image: [https://ibb.co/ZGYznF1](https://ibb.co/ZGYznF1)
 * The showRetry function in postnl.js:830 does the following:
    `<br><div id="post-
   error-try-again" class="button btn">' + PostNL.data.textToTranslate.again + '
   </div>' +'`
 * But, PostNL.data.textToTranslate does not have a property ‘again’. There also
   is no setting found in the plugin to even modify that text.
 *     ```
       BEdeliveryStandardTitle: "Standaard bezorging"
       BEdeliveryTitle: "Delivery"
       addressNotFound: "Adresgegevens zijn nog niet ingevuld"
       city: "City"
       closed: "Gesloten"
       deliveryEveningTitle: "Avondbezorging"
       deliveryMorningTitle: "Ochtendbezorging"
       deliveryStandardTitle: "Standaard bezorging"
       deliveryTitle: "Bezorging"
       friday: "vrijdag"
       headerDeliveryOptions: " Bezorgopties selecteren"
       houseNumber: "Huisnummer"
       monday: "maandag"
       onlyRecipientTitle: "Alleen huisadres"
       openingHours: "Openingstijden"
       pickUpFrom: "Ophalen vanaf"
       pickupTitle: "Afhalen bij PostNL"
       postcode: "Postcode"
       quickDelivery: "Zo snel mogelijk bezorgen"
       retry: "Retry"
       saturday: "zaterdag"
       saturdayDeliveryTitle: "saturday_delivery_title"
       signatureTitle: "Handtekening voor ontvangst"
       sunday: "zondag"
       thursday: "donderdag"
       tuesday: "dinsdag"
       wednesday: "woensdag"
       wrongHouseNumberPostcode: "Huisnummer/postcode combinatie onbekend"
       ```
   
 * There also is NO property being added to this dataset in **class-wcmp-frontend.
   php**.
 * Please note we temporarily modified the plugin to make sure the text is shown,
   so you will not see this in our example.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-in-try-again-button-on-zipcode-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [PostNL](https://wordpress.org/support/users/postnl/)
 * (@postnl)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/undefined-in-try-again-button-on-zipcode-error/#post-13216136)
 * We are currently making a new plugin. This problem will be solved in this version.
 *  Plugin Author [PostNL](https://wordpress.org/support/users/postnl/)
 * (@postnl)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/undefined-in-try-again-button-on-zipcode-error/#post-13422261)
 * Dear [@artifexmedia](https://wordpress.org/support/users/artifexmedia/),
 * We will adjust this in the next version.
 * We are currently in the first test phase and I can tell you that this problem
   has been solved with this version.
 *  Plugin Author [PostNL](https://wordpress.org/support/users/postnl/)
 * (@postnl)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/undefined-in-try-again-button-on-zipcode-error/#post-13902394)
 * This should be fixed in the latest version.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘“Undefined” in try again button on Zipcode error’ is closed to new replies.

 * ![](https://ps.w.org/woo-postnl/assets/icon-256x256.png?rev=1807921)
 * [PostNL for WooCommerce](https://wordpress.org/plugins/woo-postnl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-postnl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-postnl/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-postnl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-postnl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-postnl/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [PostNL](https://wordpress.org/support/users/postnl/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/undefined-in-try-again-button-on-zipcode-error/#post-13902394)
 * Status: resolved