oxipay / oxipay-opencart

GNU General Public License v3.0
1 stars 1 forks source link

[QAIT] New Zealand user is able to pay through Oxipay when Oxipay Region is selected as Australia in Opencart Oxipay details #3

Open manishaQAIT opened 6 years ago

manishaQAIT commented 6 years ago

Pre-Requisite: Select Oxipay Region as Australia in Opencart Oxipay Details

  1. Launch URL: http://13.210.14.116/opencart/admin/ on browser and login with valid credentials
  2. Click on Extensions and select Payment as extension type
  3. Now go to Oxipay plugin and click on Edit button
  4. Select Australia in Oxipay Region
  5. Save the changes

Steps to Reproduce:

  1. Launch URL: http://13.210.14.116/opencart/ on browser
  2. Add any product to a cart and click on Checkout button
  3. Select 'Guest checkout' as payment option
  4. Click on Continue button
  5. Enter data in billing Details section and select 'New Zealand' in country dropdown.
  6. Choose Oxipay as payment method and click on 'Proceed to Oxipay' button

Actual Result: New Zealand user is able to pay via Oxipay when Oxipay Region is selected as Australia in Opencart Oxipay details Refer to the Screenshot: oxipay region__australia

Screencast: https://screencast-o-matic.com/watch/cb6lIfIGAn

Expected Result: New Zealand user should not be allowed to pay through Oxipay when Oxipay Region is selected as Australia in Opencart Oxipay details

manishaQAIT commented 6 years ago

Also, Australian user is able to pay through New Zealand Oxipay.

sam-flexi commented 6 years ago

Confirmed this to be an issue. AU users should get an error message on the cart when trying to process against Oxipay NZ and similarly NZ users should get a similar message when processing against Oxipay AU.