Re: Stripe.com payment integration module
Quote:
Originally Posted by
split63
The difference between zen cart 1.5.8 versions and older versions is the difference in language files and comment data.
\includes\languages\lang.english.php and \includes\languages\english.php
Please check the files yourself .
When creating the stripe module, comments are added in the session ($_SESSION['order_add_comment']) because zen cart versions 1.5.7 cannot retain the comment content from the checkout payment page to the checkout confirmation page.
added files are as follows.
\includes\modules\pages\checkout_payment\header.php.php
\includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_payment_default.php
Re: Stripe.com payment integration module
Quote:
Originally Posted by
Gozzandes
The difference between zen cart 1.5.8 versions and older versions is the difference in language files and comment data.
\includes\languages\lang.english.php and \includes\languages\english.php
Please check the files yourself .
When creating the stripe module, comments are added in the session ($_SESSION['order_add_comment']) because zen cart versions 1.5.7 cannot retain the comment content from the checkout payment page to the checkout confirmation page.
added files are as follows.
\includes\modules\pages\checkout_payment\header.php.php
\includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_payment_default.php
Okay, I uninstalled stripe from Zen
removed previous files
uploaded files from stripe 1.5.7d
doubled checked uploaded files
Went to Zen Payment module screen.
Now it shows: Stripe Payments : Credit Card , So that problem is resolved
But when I click +Install Module
I get an error page:
WARNING: An Error occurred, please refresh the page and try again.If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
How do I fix this?
Re: Stripe.com payment integration module
I restored the Zen database from 7 days earlier, that surprisingly did not fix the issue
Re: Stripe.com payment integration module
PHP Fatal error: 1064:You have an error in your SQL syntax; near '(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_...' at line 1 :: CREATE TABLE zen_ stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32)) ==> (as called by) /path/includes/modules/payment/stripe.php on line 216
I notice that above there is a space in "zen_ stripe"
Line 216 of stripe.php:
PHP Code:
$db-> execute("CREATE TABLE " . DB_PREFIX . " stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32))");
Should there be a space after the " before stripe( above?
Comparing it to the stripe 1.5.8, the space is not there
I removed the space,.... that was the issue. How can I be the first to find this older typo?
1 Attachment(s)
Re: Stripe.com payment integration module - Image customization
Zen v1.5.7c
PHP 7.4
On the Zen checkout page customers currently see:
Attachment 20823
How can I show an image instead of the text "Stripe Payments : Credit Card", just like is done for PayPal?
Re: Stripe.com payment integration module - Image customization
Quote:
Originally Posted by
split63
Zen v1.5.7c
PHP 7.4
On the Zen checkout page customers currently see:
Attachment 20823
How can I show an image instead of the text "
Stripe Payments : Credit Card", just like is done for PayPal?
I was not thinking about the logo.
Next time, let's add a logo.
:blush:
Re: Stripe.com payment integration module
Quote:
Originally Posted by
split63
PHP Fatal error: 1064:You have an error in your SQL syntax; near '(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_...' at line 1 :: CREATE TABLE zen_ stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32)) ==> (as called by) /path/includes/modules/payment/stripe.php on line 216
I notice that above there is a space in "zen_ stripe"
Line 216 of stripe.php:
PHP Code:
$db-> execute("CREATE TABLE " . DB_PREFIX . " stripe(id INT(11) AUTO_INCREMENT PRIMARY KEY,customers_id INT(11),Stripe_Customers_id VARCHAR(32))");
Should there be a space after the " before stripe( above?
Comparing it to the stripe 1.5.8, the space is not there
I removed the space,.... that was the issue. How can I be the first to find this older typo?
Might not be the first one to notice it >.>: https://www.zen-cart.com/showthread....12#post1404512
I think the edit was put in too late for Gozzandres but will definitely be in the next upload.
Re: Stripe.com payment integration module - Force Payment methods to appear
Regarding the Payment methods selected in Stripe's dashboard, not all will appear at checkout depending on the user. For example, you might have Apple pay and google pay enabled, but they don't show up at checkout, apparently because the user's browser has nothing indicating they use these payment services.
But why not display them anyway? I asked Stripe's AI how to force this, and was told:
To force a payment method to appear, you can make a minor modification in the Stripe module
Does anyone know what this modification would be?
1 Attachment(s)
Re: Stripe.com payment integration module -No customer data transfered to Stripe
Zen V1.5.7c
PHP: 7.4
In Test mode, Zen order transactions complete without error. At Stripe, the dashboard shows the transaction and its marked as "Succeeded", but the customer data fields are blank.
I have tried 4 separate test transactions, all are missing the customer data, as shown below.
Captured from Stripe Dashboard --> Transactions
Attachment 20825
The data is captured in Zen Orders correctly
.
Re: Stripe.com payment integration module -No customer data transfered to Stripe
When not in test mode, the name and email were filled transferred to stripe dashboard. So perhaps this issue is just related to test mode