shiftcommerce / flex-ruby-gem

💎 The Ruby library used to integrate with the Shift Platform API
MIT License
2 stars 0 forks source link

Issue/163 update cart create method #164

Closed RichardWatkins1 closed 5 years ago

RichardWatkins1 commented 5 years ago

The issue

The attributes being sent by the gem were being overwritten so the initial line items never reached the backend in development mode.

The fix

merge the test: true into the attributes rather than overwrite them.

QA

Follow the steps on this PR - https://github.com/shiftcommerce/matalan-rails-site/pull/2686