Welcome to the Dash Forum!

Please sign up to discuss the most innovative cryptocurrency!

DashPayments for WooCommerce Released

Discussion in 'General Discussion' started by nmarley, Apr 6, 2016.

  1. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    This is officially released now, and the Github repo is here:

    https://github.com/nmarley/dashpayments-for-woocommerce

    For non-developers (the majority of plugin users), the pre-packaged zip file can be found here (please make sure your site meets the technical requirements):

    https://github.com/nmarley/dashpayments-for-woocommerce/releases/latest

    As with all software, there will be bugs. Please file any/all bugs and/or feature requests at the Github URL above. I'll expect that some things may not work as planned, and try and respond as quickly as possible to any support requests.

    This plugin is pretty straightforward to setup if you've read the documentation or watched any of the setup videos (I will link to them in the README). Please let me know if you have any questions/concerns.

    There are probably things I've left out also -- just reply here (preferable) or send me a note (less preferable) and I'll get back ASAP.

    I appreciate the community support in this effort. Thank you for the opportunity to serve the Dash community.

    And lastly, to all the current and would-be online merchants: Please get out there and start earning some Dash. :)

    (edit: Updated ZIP file link to always point to the latest release.)
     
    #1 nmarley, Apr 6, 2016
    Last edited by a moderator: Apr 8, 2016
    • Like Like x 30
  2. fernando

    fernando Powered by Dash
    Dash Core Team Foundation Member Moderator

    Joined:
    May 9, 2014
    Messages:
    1,528
    Likes Received:
    2,056
    Trophy Points:
    283
    Big congrats on getting this done and the proposal passed. Great news, I will test as soon as possible!
     
    • Like Like x 6
  3. elishagh1

    elishagh1 Member

    Joined:
    Feb 15, 2016
    Messages:
    41
    Likes Received:
    82
    Trophy Points:
    58
  4. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    • Like Like x 2
  5. elishagh1

    elishagh1 Member

    Joined:
    Feb 15, 2016
    Messages:
    41
    Likes Received:
    82
    Trophy Points:
    58
    Don't thank me too much I just shared your amazing work to the world. :)
     
    • Like Like x 1
  6. TaoOfSatoshi

    TaoOfSatoshi Grizzled Member
    Linguistic Dash Nation Founder Moderator

    Joined:
    Jul 15, 2014
    Messages:
    2,621
    Likes Received:
    2,585
    Trophy Points:
    1,183
    • Like Like x 3
  7. med4u

    med4u New Member
    Masternode Owner/Operator

    Joined:
    Feb 9, 2016
    Messages:
    7
    Likes Received:
    8
    Trophy Points:
    3
    Thank you for this huge contribution!

    I had an issue on my ubuntu server :
    After installing woocommerce and the DASH plugin and both activated on wordpress,
    I was not able to open the "settings" in woocommerce. It didn't show nothing, not even an error... White screen.:sad:

    When I did desactivate the DASH plugin i was able to navigate in woocommerce's settings, but no dash payment for sure.
    To solve this I had to install this dependency on my server : php5-gmp
    Code:
     apt-get install php5-gmp
    Restart Apache2, and it works well!!! Thank you!:)

    Maybe adding this (and other dependency issues) to the install instruction's might be good for those who run an ubuntu-based web server?
    Waiting for the InstantX integration ;)
    All this will be determinant for DASH adoption.

    Thank you mister Marley, good work!
     
    • Like Like x 5
  8. itscrazybro

    itscrazybro Active Member
    Dash Support Group

    Joined:
    Apr 14, 2014
    Messages:
    137
    Likes Received:
    219
    Trophy Points:
    93
    Awesome, great work!
     
    • Like Like x 2
  9. Solarminer

    Solarminer Well-known Member

    Joined:
    Apr 4, 2015
    Messages:
    762
    Likes Received:
    921
    Trophy Points:
    163
    nmarley Got a question in Dash Chat Slack from Creativeflow.

    Says website crashed after installing plugin. Error was on line 243 unexpected "{".

    I suggested running apt-get install php5-gmp above. Maybe you can jump on #help and provide advice?
     
    • Like Like x 1
  10. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    Thanks! I actually thought I'd taken care of that (show a warning for non-installed dependencies without breaking) , but I'll see why this is happening and get a fix out ASAP.
     
    • Like Like x 2
  11. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    Yep, thanks, will do.
     
    • Like Like x 1
  12. buster

    buster Guest

    I'm happy that you got funded nmarley you deserve it! Ill be testing the plugin this weekend (hopefully). Will report back any issues I encounter, hopefully it all goes smooth though.
     
    • Like Like x 2
  13. Miner237

    Miner237 Well-known Member
    Foundation Member

    Joined:
    May 28, 2014
    Messages:
    506
    Likes Received:
    224
    Trophy Points:
    213
    got this loaded up in just a few minutes no crashes WP 4.4, i'm looking forward to voting for the next budget request for maintenance and improvements on this. Thanks nmarley
     
    • Like Like x 3
  14. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    Ok, fix bugfix release. Already at v0.0.2! This will actually warn instead of breaking if the GMP extension is not installed. It's actually in the documentation, but who reads that stuff, right? ;)

    This link should go to the latest release:

    https://github.com/nmarley/dashpayments-for-woocommerce/releases/latest
     
    • Like Like x 3
  15. alex-ru

    alex-ru Grizzled Member
    Dash Support Group

    Joined:
    Jul 14, 2014
    Messages:
    2,365
    Likes Received:
    3,237
    Trophy Points:
    1,183
    [​IMG]
    Great news, thanks!
     
    • Like Like x 1
  16. Myprotection

    Myprotection Member

    Joined:
    Feb 23, 2016
    Messages:
    61
    Likes Received:
    30
    Trophy Points:
    58
  17. buster

    buster Guest

    hey nmarley Im doing some testing on a fake website. I am trying to do all this through a cpanel because a lot of people use shared hosting and don't have full access to servers (with terminal commands, etc). So I feel most errors are going to come from people using a host like hostgator, fatcow, etc. I could probably have this up and running in no time on a real server.

    Anyways I've got an open ticket with fatcow at the moment. I'm getting this error message right now.
    DashPayments for WooCommerce: Required extension(s) not loaded/enabled. Please enable 'gmp' PHP extension(s) on your WordPress server.

    Which is weird because I've enabled the gmp PHP extension and all other required extensions.
    * PHP 5.5+ with valid extensions:
    - gmp
    - bcmath
    - gd
    - mcrypt
    - openssl
    - curl
    - json

    Anyways if there is someone who is privy to cpanel php.ini files and how they work exactly that would like to help me please let me know.
     
  18. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    Yeah, I tried to make it as straightforward as possible for the general public to use. You might see about re-starting PHP after you've enabled the GMP extension.

    I really don't have any idea about cpanel, sorry. I last used it 7-8 years ago.
     
  19. buster

    buster Guest

    Hey no problem I'll figure it out didn't really put too much time into it was busy with other things. I've got an open ticket with my Hosting account I'll see what they say. I was also able to help creative flow update is PHP version over in Slack. So his store should be running your plug-in, he asked me not to share though as its still under construction.
     
  20. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    That's awesome! Thanks for helping him out.
     
    • Like Like x 1
  21. buster

    buster Guest

    Hey nmarley

    I spoke with host party they say that the GMP php extension is enabled to contact the plugin vendor.

    In cpanel there is the php.ini file, this is where you enable/disable scripts. I have confirmed that gmp is enabled. For some reason I'm still getting the error message?

    "DashPayments for WooCommerce: Required extension(s) not loaded/enabled. Please enable 'gmp' PHP extension(s) on your WordPress server."

    Could the error message be an error?
     
  22. Balych

    Balych Active Member

    Joined:
    Sep 12, 2015
    Messages:
    365
    Likes Received:
    211
    Trophy Points:
    113
    Dash Address:
    Xba1ychX7CjgbRrCKE1LjHjT3jLUhcexs5
    Upload something.php to server:
    PHP:
    <?php
    print_r
    (extension_loaded("gmp"));
    ?>
    and go to http://yourserver/something.php, if it return 1 - extension is loader, if not - ask support to check their settings again.
     
  23. buster

    buster Guest

    It returns nothing. I've contacted support again.
     
  24. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    Hey Bill, no problem, let's take a look.

    Can you upload a file in your WordPress root with only these contents and then visit it with your browser?

    Code:
    <?php phpinfo(); ?>
    That should help debug things. The code actually uses PHP's own checks, this line here is actually straight outta the plugin:

    Code:
    if (!extension_loaded( $ext )) {
    It basically says "if NOT extension_loaded" and then passes in all the required extensions, in this case "gmp". That's the PHP code itself saying that it's not loaded. Anyway, that's beside the point, if you can upload the file above into your WordPress root (call it "info.php" or whatever), then try and visit that URL and we can see the info and if it's really loaded or not, also the versions of everything. Very useful for debugging any PHP server issues actually.

    Let me know and we'll see what it says.
     
    • Like Like x 1
  25. buster

    buster Guest

    So I just got this message from support:
    I'm wondering, if a host does not support gmp extension then this woocommerce plugin will not work on that host?

    Anyways Ill try another host I have an account with to see if they support gmp. A lot of people use a hosting company and not a VPS, so hopefully the other companies out there support gmp.


    I did what you asked, went ahead and sent you a personal message with link. Just fyi, the reason I am doing this is so I can help others in the future who are looking to set this thing up. This will save you time in the long run because I will be able to help people instead of you helping people all the time. It's a win win for both of us, so I would like to figure this out even if it is something so simple and easy.
     
    #25 buster, Apr 16, 2016
    Last edited: Apr 16, 2016
  26. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    This is what it looks like if gmp support is enabled:

    http://imgur.com/EH35Sb6

    I would think most hosts would have things like the gmp extension enabled. I'm actually really surprised they don't, and don't have plans to do so. This is required for the math used in the ECC (elliptic curve cryptography) library.
     
    • Like Like x 1
  27. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,843
    Likes Received:
    6,696
    Trophy Points:
    1,283
    • Like Like x 2
  28. nmarley

    nmarley Administrator
    Dash Core Team Moderator

    Joined:
    Jun 28, 2014
    Messages:
    352
    Likes Received:
    418
    Trophy Points:
    133
    Dash Address:
    XsUFct27gKMRZ7JFxoxcMgjaBDXndk5kXT
    • Like Like x 2
  29. tungfa

    tungfa Administrator
    Dash Core Team Foundation Member Masternode Owner/Operator Moderator

    Joined:
    Apr 9, 2014
    Messages:
    8,843
    Likes Received:
    6,696
    Trophy Points:
    1,283
    • Like Like x 1
  30. bluebit

    bluebit Active Member

    Joined:
    Jun 4, 2015
    Messages:
    191
    Likes Received:
    194
    Trophy Points:
    103
    I get an error when I try to activate the plugin.

    Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home3/~~~~~~this part is private :) ~~~~~~~~~~~~~~~~/wp-content/plugins/dashpay-woocommerce/includes/class-dp-address-factory.php on line 9
     

Share This Page