creditkey / magento2-b2bgateway

Credit Key Magento 2 Module
MIT License
0 stars 4 forks source link

update JS SDK; fix null reference exception #3

Closed chickenham closed 5 years ago

chickenham commented 5 years ago
  1. The JS SDK is updated to the latest (that supports hiding the iframe, rather than destroying it)
  2. I added a null check when determining the shipping amount - with the old version, if you tried to invoice an order that didn't have a shipping address, the capture method would throw an exception