News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM Payment - Standard does not change order status

Started by iWim, March 30, 2021, 16:45:33 PM

Previous topic - Next topic

iWim

I thought I had created the topic, appearantly not...

Anyway...

I have created a testshop with 1 payment method: VM Payment - Standard.
Order Status for Pending transactions is set to Confirmed by shopper.

In configuration:
Enable Automatic Selected Payment is set to No preference.

But, when I place an order the order status remains Pending.

Extra info:
Clean & empty instal of J3.9.25 / VM 3.8.8
No additional extensions.

The payment method and plugin are published.

What did I miss...?
How do I make the status change from Pending to Confirmed (by shopper) when a customer clicks the confirm button?

Thank you.
Wim

Jörgen

This has worked for at east 10 years...

Please show all your settings in payment and show the order status for the pending order.

By the way, are You trying to create invoices ? Turn off this.

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

iWim

That's what I thought.

It's a real bare bones J/VM instal just to test something.
1 product/1 payment/1 shipping

Just tested on localhost. It has the Same issue.

Anyway, I attached screenshots of the payment method...

iWim

...and here are screenshots of the email settings and the pending order.

Jörgen

I think I see two things

  • You have no wieght for the product, should not matter, but just to make sure
  • It looka like You are creating n invoice

Creating an invoice is actually ionly a problem when the data for the invoice is not setup correctly. To advanced CSS which breaks the TCPDF or logos that TCPDF can not handle.

I guess the invoce creation is the problem. Once fixed it will work with the status update.

Jörgen @ Kreativ Fotografi

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

iWim

Thank you, Jörgen.

I do appreciate the help, but I'm not sure if we are talking about the same thing.

In a vanilla/clean/barebones J/VM install VM Payment - Standard does not change the order status from pending to confirmed by customer when a customer confirms an order with this payment method (auto)selected.
It remains Pending.

All I did was
- install Joomla
- install VM
- create 1 payment
- create 1 shipment
- create category
- create product
- place a test order.

QuoteYou have no wieght for the product, should not matter, but just to make sure
There is no setting in payment that requires weight.

QuoteIt looka like You are creating n invoice
According to the settings an invoice is created when status is confirmed. I haven't gotten that far... The status remains Pending
When I do change a status to confirmed an invoice is sent, but that's not the issue.

QuoteCreating an invoice is actually ionly a problem when the data for the invoice is not setup correctly. To advanced CSS which breaks the TCPDF or logos that TCPDF can not handle.
I currently only use the Protostar template and there are no logos or images set.

I do hope I explained it clearer.

Regards,
Wim

AH

Just tested

"Standard does not change the order status from pending to confirmed by customer"

And in my test installation bare vm3 (VirtueMart 3.8.9 10499) everything works as expected and the order confirmation does change the status to that set in "Order Status for Pending transactions" which for me was - "confirmed by shopper."
Regards
A

Joomla 4.4.5
php 8.1

pinochico

important - you use beta version VM admin template - maybe is problem there?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds for FB, GMC,.. from products, categories, orders, users, articles, acymailing subscribers and database table
Virtuemart Email Manager - customs email templates
Import products for Virtuemart - from CSV and XML
Rich Snippets - Google Structured Data
VirtueMart Products Extended - Slider with products, show Others bought, Products by CF ID and others filtering products

iWim

Okay... I think I solved it...  :-\

So after AH's reply I installed VM3.8.9 over VM3.8.8.
Issue remained, status remains Pending when placing an order.

I did a clean install of VM 3.8.9, with sample data.
No issue, status becomes Confirmed by shopper, works as expected.

Then I decided to change the Order Status for Pending transactions first to Pending and then back to Confirmed by shopper on the 3.8.9 shop with the issue.
Success!!! The status changed to Confirmed by Shopper when I place an order.

So I did the same with the 3.8.8 shop...
Success #2

Why? I don't know, but it seems to work...

Quoteimportant - you use beta version VM admin template
That might be true. I'll have to test that too...

Anyway, for now... Jörgen, AH and pinochico thanks for listening  ;D

Jörgen

Hello

This looks strange. I have no good explanation, Pinochicos guess that this has to do with the admin template could be a correct guess. I have not seen this issue ever before. Not saying that this is a guarantee of any kind. Nice that You have a workaround, test without the new admin on a fresh install and see what happens. Would be nice to know.

best regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

AH

Great you got back to us and found a working option - no idea what the issue could have been
Regards
A

Joomla 4.4.5
php 8.1

iWim

#11
Found the reason...
It was me... :-\

When I created a new payment method I only saved once to load the configuration.
I checked the config if Confirmed by Shopper was selected.
Then I did a test purchase.

What I should have done was just a second save to save the configuration as well.  :P ::)

:-[

Jörgen

Great, this is easier to understand. I wanted to ask if the data was saved in the database, but you showed the screenshots and what is shown in the views is exctly  what is stored in the database. So it did not make any sense to ask once again for this. Never thought that You had shown the views without making a final save.  ;)

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

AH

Great to find out what you had done and thanks for letting the people reading this know - so many just don't bother once there problem is fixed.

Never realised you had not saved the settings.

It happens to us all  ;)
Regards
A

Joomla 4.4.5
php 8.1