Page 35 of 58 FirstFirst ... 25333435363745 ... LastLast
Results 341 to 350 of 574
  1. #341
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by OJ_SIMON View Post
    Code:
    define('TABLE_STRIPE', DB_PREFIX . 'stripe');
    PHP Code:
    $db-> execute("CREATE TABLE " TABLE_STRIPE  "(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32))"); 
    the above is how it should be done then anyone can use it without having to change code.
    Noted. I forgot that the TABLE_ constants are always accessible. Submitting now.

  2. #342
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    can i ask what this upgrade version is fixing or dealing with?

  3. #343
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by OJ_SIMON View Post
    can i ask what this upgrade version is fixing or dealing with?
    Just a bugfix for configurations that are using table prefixes.

    The native code makes a call to a database table named `TABLE_STRIPE` but on the modules installation, it only makes a table named 'stripe' and ignores the prefix configuration. If this module is already working, you don't need to change anything (this means your ZenCart tables do not have prefixes and works fine with the table named just stripe). However, if someone just snags the module from the plugins directory and they do have table prefixes configured, they'll run into errors as the table is wrongly named and referred to incorrectly in the database define.

  4. #344
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by retched View Post
    Just a bugfix for configurations that are using table prefixes.

    The native code makes a call to a database table named `TABLE_STRIPE` but on the modules installation, it only makes a table named 'stripe' and ignores the prefix configuration. If this module is already working, you don't need to change anything (this means your ZenCart tables do not have prefixes and works fine with the table named just stripe). However, if someone just snags the module from the plugins directory and they do have table prefixes configured, they'll run into errors as the table is wrongly named and referred to incorrectly in the database define.
    Seem needed.

    can i also ask if you have or could check if the amount sent to Stripe is the correct amount when using the following:
    1. a coupon,
    2. a product that has a offer price,

    I only ask this because in my installation the only amount sent to stripe is the total before any discount is applied?

  5. #345
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: Stripe.com payment integration module

    I can check on the first in a few but can you explain the second? What do you mean by "offer price"?

  6. #346
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by retched View Post
    I can check on the first in a few but can you explain the second? What do you mean by "offer price"?
    a offer made via SaleMaker in admin

  7. #347
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Code:
        $i = count($order_totals);
        $i -= 1;
        
     echo $order_totals[$i]['value'];
    gets the full total amount to send to Stripe but I can only get it to work on index.php?main_page=checkout_confirmation page and need to get this to
    includes/modules/payment/stripe.php

    line 146
    PHP Code:
    $amount_total=round($order->info['total']*$order->info['currency_value'],$decimal_places)*$multiplied_by
    should be like

    PHP Code:
        $i count($order_totals);    $i -= 1;
    $order_value $order_totals[$i]['value'];
            
    $amount_total round($order_value $order->info['currency_value'], $decimal_places) * $multiplied_by

  8. #348
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    681
    Plugin Contributions
    8

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by OJ_SIMON View Post
    Code:
        $i = count($order_totals);
        $i -= 1;
        
     echo $order_totals[$i]['value'];
    gets the full total amount to send to Stripe but I can only get it to work on index.php?main_page=checkout_confirmation page and need to get this to
    includes/modules/payment/stripe.php

    line 146
    PHP Code:
    $amount_total=round($order->info['total']*$order->info['currency_value'],$decimal_places)*$multiplied_by
    should be like

    PHP Code:
        $i count($order_totals);    $i -= 1;
    $order_value $order_totals[$i]['value'];
            
    $amount_total round($order_value $order->info['currency_value'], $decimal_places) * $multiplied_by

    I'll look into both of these but no promises as I have a bit of work ahead of me.

  9. #349
    Join Date
    Nov 2023
    Location
    Hounslow
    Posts
    131
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by retched View Post
    I'll look into both of these but no promises as I have a bit of work ahead of me.
    could I hire you (paid service) to help me make a new plugin from scratch for stripe

  10. #350
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    Plugin Contributions
    2

    Default Re: Stripe.com payment integration module

    Sorry for making you wait.
    The previous module had a problem. Stripe ID generated twice for a single order, but I resolved it today and uploaded a new module. Please wait until it is published.

 

 
Page 35 of 58 FirstFirst ... 25333435363745 ... LastLast

Similar Threads

  1. pay2check.com payment module?
    By sunrise99 in forum Addon Payment Modules
    Replies: 0
    Last Post: 1 Nov 2011, 03:55 AM
  2. klikandpay.com payment module
    By rulest in forum Addon Payment Modules
    Replies: 0
    Last Post: 24 Sep 2010, 06:06 PM
  3. AlertPay Payment Module Integration Help Please!
    By etorf9751 in forum Addon Payment Modules
    Replies: 8
    Last Post: 16 Aug 2010, 05:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR