Skip to main content

#88 Stripe payment

Posted in ‘Stripe Checkout for VirtueMart’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information (available for public)

PHP version
8.2

Latest post by sulpher on Wednesday, 28 February 2024 15:31 EET

fapaci

Hi,

 

I've installed your Stripe plugin without any problem, but when I pay by Stripe the shopping cart doesn't empty. Before I used PayPal payment and it worked perfectly, but now it shows errors., the orders paid by PayPal are pending.

 

The stripe plugin seems to have mixed something up. Would you help me solve the problem? My site is off-line now, but you can log in.

 

Best regards,

 

Laszlo

fapaci@gmail.com

sulpher
Hi Laszlo,
Could you specify which VirtueMart/Joomla version do you use?
And please give us a URL to your site (credentials can be updated) ;-)

We will do the best to help you with this problem.

Best regards,
Eugene

fapaci

Hi Eugene,

 

My site: https://luxoraudio.hu/

 

I use VirtueMart 4.2.4 10922 on Joomla 4.4.2

 

Regards,

 

Laszlo

b2z

Hi Laszlo,

Do you mean the cart is not empy after the payment is done?

Regarding PayPal - I just resave PayPal payment method and now it is not display any error anymore.

Kind regards,

Dmitrijs

fapaci

Hi,

 

The PayPal pay order works flawlessly now, thank you!

I have placed another order with credit card payment, paid the purchase price via Stripe, received the confirmation email, but the ordered products are still in the shopping cart. This problem only occurs with Stripe payment.

Another problem is that the confirmation emails arrive in duplicate. I think this is caused by a strange change in the status of the order.

 

Regards,

Laszlo

fapaci

Goog morning,

 

Last night several email notifications went out about orders paid with the Stripe plugin, again and again they are reported as completed. The orders paid by PayPal are not do this.

 

Regards,

 

Laszlo

b2z

Good morning, Laszlo.

I think I found the problem with the cart and have installed the new version of the plugin with the fix. Please check one more time.

Regarding notification - it seems that Stripe is trying to send several payment notifications (webhook attempts). Need to find out why, because on our test website order status is changing once. Can you please check your Stripe dashboard - do you have one webhook there or several? It should be one. Also under the webhook check the logs - is it trying to send several attempts for the same payment id?

Another way - you can provide us temporary access to your Stripe dashboard (send credentials to support@norrnext.com) and we will try to check where the problem is.

Kind regards,

Dmitrijs

fapaci

Hi,

 

Thanks for your help.

 

I have only one webhook at Stripe, but in that there are several "session.completed" actions. I made some screenshot about is. How can is show you?

 

Regards,

Laszlo

fapaci

I started a new order, paid by credit card via Stripe, order completed, but the products are still in the cart. And again I received a double email notification.

 

Laszlo

b2z

To insert image, please use external image hosting like https://postimages.org/ and just paste image URL to your message above. 

It will need more time to understand. I checking the plugin code and I cannot find any issue why cart is not cleared.

Also there should be a log file with debug information in /administrator/logs/plg_vmpayment_vmstripeco.php. Please send this file it to support@norrnext.com

Kind regards,

Dmitrijs

After exploring the code one more time I think I found how to fix the cart. I will try to provide a new version of the plugin later today.

By the way - why you do not use Sandbox (test) mode? It is the recommended way to check how the payment works and no real money flow happening. When everything is ok, sandbox mode is made disabled.

Kind regards,

Dmitrijs 

sulpher
Hello,
A new version of the plugin including the required improvements was released earlier:
Stripe and Stripe Checkout plugins for VirtueMart updated to ver.1.1.0

I am closing this ticket as resolved. Feel free to contact us if you need any further assistance.

If you like how the plugin works, we'd be happy if you'll write a small review at the Joomla Extensions Directory.
Best regards,
Eugene
Support information

Support hours: You can get our help: Monday - Friday / 09:00 to 17:00 (GMT+3), but not limited. Our staff is pleased to provide Premium support to every paid subscriber asap, but sometimes you should be ready to wait for our reply for up to 3 days.


Our time: / Your time:

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. We also ask you to remove temporary credentials at your site after the problem is resolved. Thank you.

Support of free extensions is not provided on this forum. Please submit your questions or report issues via Github tracker. See link on the product page.