Jump to content

MistaGrk

Members
  • Posts

    33
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by MistaGrk

  1. 1 minute ago, Blesta Addons said:

    the error come from empty currency data, i don't think the gateway is not returning the currency used . but what i think the Blesta gateway is not able or it has a wrong currency post field . so i think is Blesta gateway error , this is not a big issue so is easily resolved .

     

    I am happy to read that, but how can I fix it? Or where do I begin to look?

  2. 2 minutes ago, BlestaStore said:

    hopefully I can get Mike to look into this for you but Paul and the team will be back on Monday it looks like you've got it to call home and it's not sending the currency back to Blesta.

    Okay, sounds good. As a side note mate, Do I need to setup a webhook on Square?

    I must add that I am using Version 3.6.1, we are very comfortable with this version and it works flawlessly - with that said, we wish to stay on this version as we've had issues upgrading and losing data in the past. Our blesta configuration is complex, so we're happy with the version used (until it's actually time to upgrade).

  3. 7 hours ago, BlestaStore said:

    Hi mate is your currency USD and your package price in USD? Also did you import from another software if not then it's the module so we can narrow the issue down?

    Howdie. Thanks for the reply.

    1. Package set in CAD.
    2. Square Gateway set in CAD only, as well.

    My URL used to be different where Blesta was originally installed. The domain has remained the same but instead of www.domainname.com/blesta, it's now blesta.domainname.com... BUT, I recently installed Square gateway. I never had this module in the original URL.

    Hope that helps. Let me know what else you'd like to know, I would like this resolved ASAP as my company is live and taking payments.

  4. On 9/18/2017 at 6:46 AM, BlestaStore said:

    If people want help to configure it I've done a tutorial as I was a bit confused lol
    https://blesta.store/plugin/support_manager/knowledgebase/view/2/how-to-connect-blesta-to-square/8/

    Hey! I've been following your work for a while now and I have to say, you're great. 

    Having followed your tutorial, I've set it all up - BUT I am getting an error after I submit payment (see screenshots below) - any help is appreciated:

    1. I place an order:
      001.thumb.PNG.7421fd4dff7a5fe6d32a0cf8d1da6b95.PNG
       
    2. It then kicks me to pay with Square... 
      SIDE-NOTE QUESTION:
      How can I remove the shipping section? I don't ship anything to customers - our services are all digital... I don't need this page, just CC info and Pay, would be nice. Any help on this is appreciated.
      0002.thumb.PNG.8a4637869ae25f2b118df291f61df9db.PNG
       
    3. Upon submission of the info, I get this error:
      ERROR.thumb.PNG.9eb13585c8cb3a94bba6fabf5294aa73.PNG

    Any help is appreciated :)

  5. 6 hours ago, Paul said:

    I actually got that same error today on a testing server that I was installing mailparse on. You're missing re2c and possibly gcc. As root, run the following command via SSH:

    yum install gcc re2c -y

    Then, retry

    :wub: Marry me. My issue has been resolved. I had to first install mailparse under php7 and then revert back to 5.6 and run it... this issue has been bothering me for a while, so thank you very much.

  6. Alright, so I have been searching the forum and I think this is the best topic to reply on.

    I'm having this issue with Blesta. Version 3.6.1. 

    Quote

    The PHP Mailparse PECL extension is required for parsing email tickets.

    I have ran WHM Apache4 and have followed the steps above. Whether I am installing mailparse for php 5.6 or 7.0 I get the same error:

    Quote
    
    downloading mailparse-3.0.2.tgz ...
    Starting to download mailparse-3.0.2.tgz (38,206 bytes)
    ..........done: 38,206 bytes
    10 source files, building
    running: phpize
    Configuring for:
    PHP Api Version:         20151012
    Zend Module Api No:      20151012
    Zend Extension Api No:   320151012
    building in /root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2
    running: /root/tmp/pear/mailparse/configure --with-php-config=/opt/cpanel/ea-php70/root/usr/bin/php-config
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    checking for a sed that does not truncate output... /bin/sed
    checking for cc... cc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether cc accepts -g... yes
    checking for cc option to accept ISO C89... none needed
    checking how to run the C preprocessor... cc -E
    checking for icc... no
    checking for suncc... no
    checking whether cc understands -c and -o together... yes
    checking for system library directory... lib
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for PHP prefix... /opt/cpanel/ea-php70/root/usr
    checking for PHP includes... -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib
    checking for PHP extension directory... /opt/cpanel/ea-php70/root/usr/lib64/php/modules
    checking for PHP installed headers prefix... /opt/cpanel/ea-php70/root/usr/include/php
    checking if debug is enabled... no
    checking if zts is enabled... no
    checking for re2c... no
    configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
    checking for gawk... gawk
    checking whether to enable mailparse support... yes, shared
    checking how to print strings... printf
    checking for a sed that does not truncate output... (cached) /bin/sed
    checking for fgrep... /bin/grep -F
    checking for ld used by cc... /bin/ld
    checking if the linker (/bin/ld) is GNU ld... yes
    checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
    checking the name lister (/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 1572864
    checking whether the shell understands some XSI constructs... yes
    checking whether the shell understands "+="... yes
    checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
    checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
    checking for /bin/ld option to reload object files... -r
    checking for objdump... objdump
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... printf %s\n
    checking for ar... ar
    checking for archiver @FILE support... @
    checking for strip... strip
    checking for ranlib... ranlib
    checking for gawk... (cached) gawk
    checking command to parse /bin/nm -B output from cc object... ok
    checking for sysroot... no
    checking for mt... no
    checking if : is a manifest tool... no
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking for dlfcn.h... yes
    checking for objdir... .libs
    checking if cc supports -fno-rtti -fno-exceptions... no
    checking for cc option to produce PIC... -fPIC -DPIC
    checking if cc PIC flag -fPIC -DPIC works... yes
    checking if cc static flag -static works... yes
    checking if cc supports -c -o file.o... yes
    checking if cc supports -c -o file.o... (cached) yes
    checking whether the cc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
    checking whether -lc should be explicitly linked in... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... immediate
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    configure: creating ./config.status
    config.status: creating config.h
    config.status: executing libtool commands
    running: make
    /bin/sh /root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/libtool --mode=compile cc  -I. -I/root/tmp/pear/mailparse -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/include -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/main -I/root/tmp/pear/mailparse -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/mailparse/mailparse.c -o mailparse.lo
    libtool: compile:  cc -I. -I/root/tmp/pear/mailparse -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/include -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/main -I/root/tmp/pear/mailparse -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/mailparse/mailparse.c  -fPIC -DPIC -o .libs/mailparse.o
    /bin/sh /root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/libtool --mode=compile cc  -I. -I/root/tmp/pear/mailparse -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/include -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/main -I/root/tmp/pear/mailparse -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/tmp/pear/mailparse/php_mailparse_mime.c -o php_mailparse_mime.lo
    libtool: compile:  cc -I. -I/root/tmp/pear/mailparse -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/include -I/root/tmp/pear/pear-build-rootvCJJwd/mailparse-3.0.2/main -I/root/tmp/pear/mailparse -I/opt/cpanel/ea-php70/root/usr/include/php -I/opt/cpanel/ea-php70/root/usr/include/php/main -I/opt/cpanel/ea-php70/root/usr/include/php/TSRM -I/opt/cpanel/ea-php70/root/usr/include/php/Zend -I/opt/cpanel/ea-php70/root/usr/include/php/ext -I/opt/cpanel/ea-php70/root/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/mailparse/php_mailparse_mime.c  -fPIC -DPIC -o .libs/php_mailparse_mime.o
    re2c -b /root/tmp/pear/mailparse/php_mailparse_rfc822.re > /root/tmp/pear/mailparse/php_mailparse_rfc822.c
    /bin/sh: re2c: command not found
    make: *** [/root/tmp/pear/mailparse/php_mailparse_rfc822.c] Error 127
    ERROR: `make' failed
    
     

    mbstring is installed for all php versions.
    What do you guys think?

×
×
  • Create New...