8000 TypeError Upon Selecting UPS Shipping Method in Checkout · Issue #4 · verbb/postie · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

TypeError Upon Selecting UPS Shipping Method in Checkout #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bfopma opened this issue Apr 3, 2019 · 1 comment
Closed

TypeError Upon Selecting UPS Shipping Method in Checkout #4

bfopma opened this issue Apr 3, 2019 · 1 comment

Comments

@bfopma
Copy link
bfopma commented Apr 3, 2019

Description

During checkout, if I select an available UPS shipping method (e.g. Next Day Air Saver) and continue to the next step in the checkout process, the following error occurs:

TypeError
Return value of craft\commerce\models\ShippingRule::getDescription() must be of the type string, null returned

This appears to trace back to verbb\postie\models\ShippingMethod, potentially in the getShippingRules() function.

I attempted to do something like $shippingRule->description = 'Test'; but encountered other errors far beyond my level of competence. :)

Steps to reproduce

  1. Enable UPS provider (not sure if this issue is specific to UPS)
  2. Add one or more eligible products to cart
  3. Select an available UPS shipping method
  4. Proceed to next step in checkout

Additional info

  • Plugin version: 2.0.1
  • Craft version: 3.1.20.1
  • Commerce version: 2.1.2
  • PHP version: 7.2.9
  • Database driver & version: MySQL 5.6.10
@engram-design
Copy link
Member

Fixed in 2.0.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0