Coder Social home page Coder Social logo

Comments (6)

codekipple avatar codekipple commented on September 25, 2024

Oh forgot to say, to replicate this issue, try setting the country code to empty in the PHP serialised string in the sales_payment_transaction table on the record with a type of capture in the additional_information field. e.g. S_country";s:0:"".

Then in the admin on the order list select the order and then choose 'Print Invoices' from the Actions dropdown list.

When I do that on an order with no two letter country code set in the sales_payment_transaction table I get the error (see attached image).

skitch 2

from ipay88.

dmitrii-fediuk avatar dmitrii-fediuk commented on September 25, 2024

What is your website?

from ipay88.

codekipple avatar codekipple commented on September 25, 2024

Hi Dmitry ,
I have emailed [email protected] to confirm the website url.

from ipay88.

dmitrii-fediuk avatar dmitrii-fediuk commented on September 25, 2024

Please provide me:

  1. SSH access to your website's server.
  2. An exact order which reproduces the described problem (without any manual database modifications).

I want to analyse the full order's data to understand why is the country code empty and to implement the best solution.

from ipay88.

codekipple avatar codekipple commented on September 25, 2024

Sorry Dmitry I won't be able to give you SSH access.
I can debug the issue with you collaboratively over slack or Skype and provide you with data as you request if you wanted to do it that way.

I think the issue is partly ipay88's problem, for some reason it sometimes just doesn't return the two letter country code. From your modules perspective I just think the best fix is to make your plugin be able to handle that. So currently if ipay88 does not provide a two letter country code in it's response your plugin fails.

This scenario is intermittent, it only happens to us about once every two months.

I can dig into your code a bit and try to find a solution myself, if I manage too I can provide you with a pull request.

from ipay88.

dmitrii-fediuk avatar dmitrii-fediuk commented on September 25, 2024

Fixed in 1.5.2.

from ipay88.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.