VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: cerberus478 on May 06, 2013, 12:52:05 PM

Title: Standard banking option not working
Post by: cerberus478 on May 06, 2013, 12:52:05 PM
I set up my virtuemart to have a standard payment option called Deposit, this is suppose to take you to another page that has the banking details, but when I select Deposit and click confirm I get directed to a blank page. I'm not sure what I did wrong.
I'm using virtuemart 2.0.20b
Title: Re: Standard banking option not working
Post by: cerberus478 on May 06, 2013, 17:57:59 PM
Does anyone know how to fix this. I've looked all over the internet and I haven't been able to find anything.
Title: Re: Standard banking option not working
Post by: cerberus478 on May 07, 2013, 15:39:51 PM
Help
Title: Re: Standard banking option not working
Post by: jenkinhill on May 07, 2013, 17:03:23 PM
You do not provide enough information.

You have named the standard payment option as "deposit" and then what did you set as configuration for that plugin? What "another page" are you referring to?

http://forum.virtuemart.net/index.php?topic=104795.0
Title: Re: Standard banking option not working
Post by: cerberus478 on May 08, 2013, 07:09:38 AM
I used the standard payment option that came with virtuemart 2, in the "Payment Method Information" I entered the name "Deposit" in the "Payment Name" field,
I selected "Yes" in the "Published" field, I left "Payment Description" blank, for the "Payment Method" I chose "VM - Payment, Standard" I left "Shopper Group" blank and have 0 for the "List Order".

In the "Configuration" I left "Logos", "Countries", "Minimum Amount", "Maximum Amount", "Fee per transaction" and "Percent of the total amount" blank.
In "Accepted Currency" I selected "Default Vendor Currency", for "Status Pending" I selected "Confirmed, for "Tax" I selected "Apply default rules" and under "Payment Info" I added my banking details.

The "another page" is the page that is suppose to show the banking details and instead of getting my banking details I get a blank page instead. I did try to put the errors on maximum to see if maybe it would show any errors but it didn't.
Title: Re: Standard banking option not working
Post by: cerberus478 on May 09, 2013, 10:10:25 AM
Is there anything else that I'm missing? I hope I explained everything clearly.
Title: Re: Standard banking option not working
Post by: jenkinhill on May 09, 2013, 11:13:49 AM
So after confirming the order you do not get taken to the thank you page - Thank you for your order! ? That is where the payment info should be shown. The payment info is also repeated in the confirmation of order email sent to the purchaser.

Are you using the aio component from the VM2.0.20b package? And on Joomla2.5? Are you using template overrides or a commercial Joomla template?
Title: Re: Standard banking option not working
Post by: cerberus478 on May 09, 2013, 11:58:29 AM
yes that is what happens and I'm using the aio form the VM2.0.20b package and its on joomla 2.5.6
Title: Re: Standard banking option not working
Post by: cerberus478 on May 09, 2013, 12:21:58 PM
and I'm also using the default template
Title: Re: Standard banking option not working
Post by: jenkinhill on May 10, 2013, 12:33:09 PM
If you see a genuinely blank page then you probably have a 500 error. Check the server error logs to see the cause.
Title: Re: Standard banking option not working
Post by: cerberus478 on May 10, 2013, 13:20:47 PM
I checked my error_logs and I got this:

Quote
PHP Fatal error:  Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes)

Title: Re: Standard banking option not working
Post by: cerberus478 on May 10, 2013, 13:40:57 PM
After I checked the error on the internet, I increased my memory size. I tried again and I got a different looking page this time instead of the thank you page.

On the page there is the "Bill To" heading which has my address and a "Ship To" heading which also has my address.
Title: Re: Standard banking option not working
Post by: jenkinhill on May 10, 2013, 13:52:01 PM
Yes, set it to at least 64M which probably is the minimum that should be advised  to use with Joomla 2.5 (I use always 128M). 

Does that new page look a bit like an invoice? Post a screen capture.
Title: Re: Standard banking option not working
Post by: cerberus478 on May 13, 2013, 07:25:04 AM
Yes the page does look like an invoice. I have attached the screen shot

[attachment cleanup by admin]
Title: Re: Standard banking option not working
Post by: jenkinhill on May 13, 2013, 11:50:41 AM
Suggests to me a corrupt file - maybe one of the cart templates. Have you edited any of the template files or are using template overrides?
Title: Re: Standard banking option not working
Post by: cerberus478 on May 13, 2013, 11:57:37 AM
The only changes I made was adding classes to the cart file.
Title: Re: Standard banking option not working
Post by: jenkinhill on May 13, 2013, 21:09:33 PM
Then reinstate the original cart files, just to be sure.
Title: Re: Standard banking option not working
Post by: cerberus478 on May 14, 2013, 07:14:56 AM
I did that and it still didn't work.
Title: Re: Standard banking option not working
Post by: jenkinhill on May 14, 2013, 12:55:10 PM
At this point I'd reinstall VirtueMart - do not uninstall first, so all that happens is that files get overwritten with new versions. Save copies of your edited cart files to use as overrides if you have not already placed them in your Joomla template's html directory. Backup first!
Title: Re: Standard banking option not working
Post by: cerberus478 on May 16, 2013, 09:24:00 AM
Thanks for the help. I found out what was wrong. I needed to increase the memory size on the server side.