Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

No default currency config provided by extension, this can break payment method if no database config is set #12

Closed
andrewkett opened this issue Jul 4, 2018 · 1 comment

Comments

@andrewkett
Copy link

Preconditions

  • Laybuy_LaybuyPayments 1.1.0
  • Magento 2.2.4
  • PHP 7.1.10
  • Nginx

Steps to reproduce

  • Install Laybuy_LaybuyPayments on clean Magento install and configure with API key.
  • Checkout using Laybuy payment method and place order

Expected result

User is redirected to Laybuy to complete checkout

Actual result

No redirect happens, we see the following errors in our logs:

==> log/magento/payment.log <==
[2018-06-20 11:27:05] main.DEBUG: array (
  'redirect response body' =>
  stdClass::__set_state(array(
     'result' => 'ERROR',
     'error' => 'Specified currency is invalid.',
  )),
) [] []
[2018-06-20 11:27:05] main.DEBUG: array (
  'FAILED TO GET returnURL' =>
  stdClass::__set_state(array(
     'result' => 'ERROR',
     'error' => 'Specified currency is invalid.',
  )),
) [] []

see #11

@andrewkett andrewkett changed the title No default currency config, can break payment method if no database config is set No default currency config provided by extension, this can break payment method if no database config is set Jul 4, 2018
@16hands
Copy link
Contributor

16hands commented Jul 12, 2018

Hi Andrew

sorry for missing this, we hav enow added a default to the module's config.xml

16hands added a commit that referenced this issue Jul 12, 2018
@16hands 16hands closed this as completed Jul 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants