Code:define('TABLE_STRIPE', DB_PREFIX . 'stripe');the above is how it should be done then anyone can use it without having to change code.PHP Code:$db-> execute("CREATE TABLE " . TABLE_STRIPE . "(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32))");
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.
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?
I can check on the first in a few but can you explain the second? What do you mean by "offer price"?