VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Feature requests => Payment Modules => Topic started by: bassman on May 13, 2006, 12:53:06 PM

Title: Pay & Read Payer for VISA, MasterCard, Diners
Post by: bassman on May 13, 2006, 12:53:06 PM
Swedish module for Payments by Card
Pay&Read´s Payer, easy to install, good support and free untill you use it.
Rekommended for swedish use.

[attachment cleanup by admin]
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lollo Vestlund on July 07, 2007, 15:58:20 PM
Hi
Have you seen any Payson payment module for VirtueMart?
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: bassman on July 08, 2007, 08:57:04 AM
Please ask Payson, I think they have can help you
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: mgordon on December 18, 2007, 16:12:10 PM
Quote from: bassman on July 08, 2007, 08:57:04 AM
Please ask Payson, I think they have can help you
We who want to support as many payment methods as possible should push payson to make a module for virtuemart.
the competition between the different payment methods is so tough today, that they should do their best effort in gaining new customers.
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on March 25, 2008, 11:12:35 AM
Fully aware that this posting is quite old. Just want to add this though:

Payson.se is the only solution in Sweden that offers payment by Internetbanking.

Sadly enough they don't seem too eager to assist users in the implemetation of their 'Agentintegration'
On request they only refer to that you probably have to be a programmer in order to successfully implement this.
This in spite of their site claim that it would only take a day to set it up...

I spent approx. 10 hours setting up the Payson agent by scrutinizing the other solutions available in VM.
I managed almost all the way; payments are OK, but I can't seem to get the returning customers info to change the order status field to 'Confirmed', in order to send out the automatic e-mail for downloads.

Probably need help to solve this. Anyone with experience in this area?

And believe me I WILL post the Payson solution if I succeed!  :)

(Don't understand why others that has managed to implement it, don't post their solution...)

Akerman / InfoClip.se   
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: mooler on May 06, 2008, 12:00:07 PM
Sorry to not be able to help out but payer do support intenet banking. They have modules for Virtumart on ther site www.payer.se I haven't tried them yet but I'm on the verge to do that.
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on May 06, 2008, 13:00:08 PM
I solved this (Payson.se).

Customer receives e-mail as well as a direct update of his/hers order, so a download can be performed directly upon return to the shop. (Customer lands on the order page).

Although not being a professional programmer, I managed to solve this with assistance from another Swedish shop. Next step is enhance some of the security, in regards of the transaction handshake between site and Payson.

Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Naesstrom on June 04, 2008, 18:00:00 PM
ohh... this sounds really interesting since I think that payson is one of the best sites for transactions on the swedish market!

I'm trying to get my own webstore running so please keep us posted on any progress!
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on June 05, 2008, 19:01:33 PM
Well, site is in production since May 2008, still no real buys performed, except the ones I performed myself, acting as a customer. (Which is equal to live testing).

Used both the Payson account to pay for merchandise, as well as the SEB internetbank connection, and they both worked fine.

The major problem was to understand how the returning customer should end up on the correct page, as well as getting the correct update of the status to 'Confirmed'.

I strongly recommend looking at the other solutions already in VM since they're a great aid in this 'detective' work. Several of them resembles the Payson solution.

The security upgrade of my present solution, would be to put some of the sensitive parts of this transaction into the MySQL database, in order to prevent a malicious user to try to intercept parts of the stream. (Which is unlikely but not impossible...)

Tell me if you need help with something specific in regards of code or just answers to different questions. (When it comes to shop security I prefer to take that discussion outside the Forum...  ;) )

Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: 9tails on August 05, 2008, 09:06:24 AM
Quote from: akerman on June 05, 2008, 19:01:33 PM
Well, site is in production since May 2008, still no real buys performed, except the ones I performed myself, acting as a customer. (Which is equal to live testing).
Used both the Payson account to pay for merchandise, as well as the SEB internetbank connection, and they both worked fine.
The major problem was to understand how the returning customer should end up on the correct page, as well as getting the correct update of the status to 'Confirmed'.
I strongly recommend looking at the other solutions already in VM since they're a great aid in this 'detective' work. Several of them resembles the Payson solution.
The security upgrade of my present solution, would be to put some of the sensitive parts of this transaction into the MySQL database, in order to prevent a malicious user to try to intercept parts of the stream. (Which is unlikely but not impossible...)
Tell me if you need help with something specific in regards of code or just answers to different questions. (When it comes to shop security I prefer to take that discussion outside the Forum...  ;) )
Regards
Akerman
Hi Sir, can you share your payson module? can I have the files and instruction on how to install it?

Thanks^__^
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on August 05, 2008, 19:46:53 PM
Of course.

I'll be a bit occupied the next couple of days, but as soon as I get back I'll post it.

Remember it's a 'basic' set up scenario and you will have to test your installation properly, and repetitively, before going into production.

(I've made no specific effort to improve or to style bits and pieces, just wanted it to work basically...  :)) 


Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: 9tails on August 06, 2008, 04:09:00 AM
Quote from: akerman on August 05, 2008, 19:46:53 PM
Of course.
I'll be a bit occupied the next couple of days, but as soon as I get back I'll post it.
Remember it's a 'basic' set up scenario and you will have to test your installation properly, and repetitively, before going into production.
(I've made no specific effort to improve or to style bits and pieces, just wanted it to work basically...  :)) 
Regards
Akerman
Thank you Sir! I hope you can get back soon hehe! because I really need it^__^
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on August 06, 2008, 15:27:30 PM
Is this soon enough?  ;)


I've made a zip file with all the necessary files in same catalogue structure as they are in Joomla!

In there you'll also find a 'Readme.txt'

I've not included the language file, since I've made multiple changes you wouldn't recognize them...  ;)  But that's no biggie, just add the VM language parameters into your language files. You'll see what they are called, as soon as you look inside the PHP files.


PS. The Payson 'Agentintegration' is nothing you just install and then it works.
It has to be properly tested, and you really have to understand the relationship between the files and where in the decision tree (procedure) you are at, at the different stages.
I recommend a lot of careful reading of all the Payson documents you can retrieve from their site.

And finally; I can not give any dedicated support on this, but am happy to try answering any questions through this forum.


Regards
Akerman

[attachment cleanup by admin]
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: 9tails on August 07, 2008, 03:28:43 AM
Hi Sir! Thanks YOU! I really appreciate your help! ;D
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: cjes on August 27, 2008, 21:27:32 PM
Hi

I am trying to upgrade my site from Joomla 10..x to Joomla 1.5 and therefore want to use Virtuemart 1.1.x

Unfortunately the old PAYER configuration file does not work with Virtuemart 1.1.x

Has anyone been able to adjust the PAYER configuration for Virtuemart 1.1.x
and is willing to share this?

Thanks
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: mrroberto on September 06, 2008, 15:30:48 PM
hi,
if you still need, contact me info (at) softdb.eu

regards,
roberto
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lindhardsen on October 11, 2008, 22:22:26 PM
Quote from: akerman on August 06, 2008, 15:27:30 PM
Is this soon enough?  ;)
I've made a zip file with all the necessary files in same catalogue structure as they are in Joomla!
In there you'll also find a 'Readme.txt'
I've not included the language file, since I've made multiple changes you wouldn't recognize them...  ;)  But that's no biggie, just add the VM language parameters into your language files. You'll see what they are called, as soon as you look inside the PHP files.
PS. The Payson 'Agentintegration' is nothing you just install and then it works.
It has to be properly tested, and you really have to understand the relationship between the files and where in the decision tree (procedure) you are at, at the different stages.
I recommend a lot of careful reading of all the Payson documents you can retrieve from their site.
And finally; I can not give any dedicated support on this, but am happy to try answering any questions through this forum.
Regards
Akerman

I'm just about to start implementing this, and will use your file.
Surprised that these does not seem to be more people/sites using Payson integration???

Just want to ask if there is any updates to the files, or any new info you want to share?

Thanks in advance
/Jan
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on October 12, 2008, 08:08:06 AM
....there is.  ;D

However, I haven't had time to test them fully and also I'm in the project of maybe, just maybe turning this into an installable, user-friendly and fully translated, Joomla/VM Extension. (Which will cost a little, but not much. Many hours have gone into this...  ;) )

Unfortunately, VM has so many flaws in other areas (like invoice and tax calculation) that right now, that seems to consume a lot of time.  :P 

I'm running a production site today with the implementation in this thread, and it still works fine.


And yes, I think it's ũber-strange that both users of eCommerce sites AND Payson themselves are so quiet about this Agentintegration.

Using your own Swedish Internetbank to pay with IS the most secure solution after all. (Especially if you have SEB bank, who have won international prizes for their secure Internet solution.)

Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lindhardsen on October 12, 2008, 14:18:22 PM
OK, I will go ahead with the current files, and hope for the best ;-)

If and when you get an installer put together, I will be more than interested in paying a smaller amount, just to support your work.

/Jan
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Naesstrom on October 15, 2008, 22:57:58 PM
Just wanted to say that I agree with Jan!

Im about to start my shop for real and Payson is according to me the best solution for payment since they are fast, secure and has a low fee!

So getting a module working with their site would be really really nice, I'll give youre files now a go but please keep us posted in any progress... you do know that you'll be voted hero of the year for making this... right :D
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lindhardsen on October 16, 2008, 23:37:43 PM
Can anyone help me, I'm not smart enough to figure out basic PHP problems.

After I have made a payment though Payson, Iäm redirected back to my site from payson.
But my website returns this error:
Quote

Warning: require_once(/administrator/components/com_virtuemart/virtuemart.cfg.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/freemyphone/administrator/components/com_virtuemart/payson_notify.php on line 105

Fatal error: require_once() [function.require]: Failed opening required '/administrator/components/com_virtuemart/virtuemart.cfg.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/freemyphone/administrator/components/com_virtuemart/payson_notify.php on line 105


I realize that the problem is that the script is looking for:
"/administrator/components/com_virtuemart/virtuemart.cfg.php", but this is not he full path, therefore the file is not found.

If I look in line 105 of the payson_notify.php it says:
Quoterequire_once( $mosConfig_absolute_path. '/administrator/components/com_virtuemart/virtuemart.cfg.php');

If is enter the full path here it works, so it seems like the "$mosConfig_absolute_path" variable is not set.
What have I done wrong, and if the variable is really not set, wouldn't the error has come in an earlier stage of the file (lots of references before line 105)???

Any inputs is highly appreciated!

/Jan
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on October 16, 2008, 23:56:38 PM
Hi,

you never wrote what the full path is supposed/expected to be?

As for the WWW path to your site I understand that it is a subdirectory under www/ ?

Are the settings in VM reflecting that scenario? (URL and Secure URL?)


Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lindhardsen on October 17, 2008, 00:04:45 AM
The full path should be:
/var/www/freemyphone/administrator/components/com_virtuemart/virtuemart.cfg.php

I Asume that "$mosConfig_absolute_path." should contain: /var/www/freemyphone ?

Everything else on my site seems to work fine, so I guess that the problem is isolated to this payson file?

My URLs both point to: http://freemyphone.se/ and not the /var/www/freemyphone physical file structure. this url on the other hand has /var/www/freemyphone as it's home directory.
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on October 17, 2008, 09:02:35 AM
Hi,

you're correct. Your URL are fine and yes, if the rest of VM works fine the problem is most likely related to Payson only. (I was obviously a bit tired yesterday...  :-\)



I'll try to have a look at this during the day... I'll get back to you this evening (local time).

Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lindhardsen on October 17, 2008, 09:09:03 AM
Thanks alot! Your help is highly appresciated ;)
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on October 17, 2008, 10:47:53 AM
...and I'm back!  :)

A quick look and some testing I discovered that I have totally forgot to mention the 'payson_notify.php' hack I did.

I actually forgot to document it myself. Sorry that it should pop up like this. :(


Ok, the thing is that when customer returns from Payson, he/she needs to land on the order page. Why? Well, either there is a 'Download' waiting there or maybe he/she needs to review/print the order just placed.

Since I made most of the testing in a live production environment, I made changes to the 'PayPal' files and adopted some of them to the 'Payson' procedures. 

The Joomla! system I was working on at the time, had set the VM menu Itemid to #60. Of course this can be different in other installations.


Look at 'payson_notify.php' at line 248 & 261 where the Itemid=60:

if( PAYSON_DEBUG == "1" ){
echo "<p><a href=\"".SECUREURL."index.php?page=account.order_details&order_id=".$order_id."&option=com_virtuemart&Itemid=60>";
echo $VM_LANG->_PHPSHOP_ORDER_LINK ."</a></p>";
}
// Update order status and inform customer by email
$d['notify_customer'] = 'Y';
require_once ( CLASSPATH . 'ps_order.php' );
$ps_order= new ps_order;
$ps_order->order_status_update($d);
$ostemp = $d['order_status'];
debug_msg("5. Order status change to $ostemp");
}else {
// Order may NOT be treated again but redirect to account detail page
// This can happen if user click payson back to store button.
$rdurl = $mosConfig_live_site."/index.php?page=account.order_details&order_id=$order_id&option=com_virtuemart&Itemid=60";




Change Itemid=60 into your specific VM Itemid in these two lines.


You'll find the Joomla! Itemid for VM in the Joomla! backend Menu Manager where you defined the menuitem for your shop. Just look to the right. (See pic below).

It is more than likely that this is causing your problem.


Sorry for the inconvenience. I'll tidy this up before deploying next time. It was good that you discovered it!  :D

Regards
Akerman 



[attachment cleanup by admin]
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lindhardsen on October 17, 2008, 11:05:08 AM
I don't have a menu pointing to the web shop front page. Do I need to do so?
My Menu Items point specifically to categories in the VM shop. Would it work to just use one of these menu items, or do I have to add a new menu item that points to VM front?
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on October 17, 2008, 11:18:34 AM
Hi,

No need to add VM to a new menuitem

I just did some additional testing, and by removing the 'Itemid' altogether and just leave the component VM as the path, makes the order to show up on a separate page, with no modules/menus (except main menu of course if it is on top...).

"/index.php?page=account.order_details&order_id=$order_id&option=com_virtuemart" 

Of course you can assign one of your category pages instead. Just look at the URL in the browser and try to identify the path. Then include that into 'payson_notify.php' instead.
Then it's likely you will get that page to contain the order AND the modules you have published to that specific category page.


Hope you understand what I mean...  ;)


Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: cjes on October 31, 2008, 15:49:57 PM
Hi Akerman

Thanks for all the information you have provided to setup the payment for Payson.

I have followed all your instructions, but unfortunately it didn't completely work for me...

For testing purposes I have installed Joomla in subdirectory as my site is already running live and I can not test it there. Maybe the problem has to do with this, I am not sure.

My problem is that I get so far as placing an ordering and going through all parts in the Cart, but when getting to the 'Thank you for your order' page i get the following error message:

Parse error: syntax error, unexpected '@' in /customers/mydomain.com/mydomain.com/httpd.www/payson/components/com_virtuemart/themes/default/templates/pages/checkout.thankyou.tpl.php(61) : eval()'d code on line 36

Do you have any ideas what I am doing wrong?

Thanks

I am running Joomla 1.5.7 & VM 1.1.2
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on November 01, 2008, 08:20:28 AM
Hi,

on top of my head, the quick answer would be that there is something wrong in the 'checkout.thankyou.tpl.php' file. since the error directly points out that a '@' sign is inserted there.

This part in that file has nothing to do with the Payson payment. If, on the other hand that file (thankyou) would have executed a few more rows and come back with a text like:
"The code of the payment method 'payment_method_name' contains a Parse Error!Please correct that first" then I would set it in connection with Payson, if that is used as payment method in this transaction. But as I said, this comes further down. At line 36 you have the VM legacy code to present a link to the VM Account page (to view the order).

Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: cjes on November 02, 2008, 22:38:16 PM
Hi Akerman,

Thanks for your reply.

You referring to @ being the problem made me check the email settings in the php files and I had changed a little too much...

I now succeeded to get the payment module set-up, but like Lindhardsen I have a problem when redirecting to my site.

I made the changes in the payson_notify.php file linking to the correct menu item, but get the following error code:


Warning: require_once() [function.require-once]: Unable to access /payson/administrator/components/com_virtuemart/virtuemart.cfg.php in /customers/mydomain.com/mydomain.com/httpd.www/payson/administrator/components/com_virtuemart/payson_notify.php on line 105

Warning: require_once(/payson/administrator/components/com_virtuemart/virtuemart.cfg.php) [function.require-once]: failed to open stream: No such file or directory in /customers/mydomain.com/mydomain.com/httpd.www/payson/administrator/components/com_virtuemart/payson_notify.php on line 105

Fatal error: require_once() [function.require]: Failed opening required '/payson/administrator/components/com_virtuemart/virtuemart.cfg.php' (include_path='.:') in /customers/mydomain.com/mydomain.com/httpd.www/payson/administrator/components/com_virtuemart/payson_notify.php on line 105

I tried your other suggestion using:

"/index.php?page=account.order_details&order_id=$order_id&option=com_virtuemart"

but this didn't help either...

Would you be so kind to send me your working payson_notify.php file so I can compare it with the code I am using?

Thanks

cjes
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: Lindhardsen on November 02, 2008, 22:41:56 PM
Yes, that would actually be nice... Just to see if that gives a clue to what is really wrong here ;)
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on November 04, 2008, 22:52:51 PM
Hi,

of course. No problem. I included it here at the bottom.

A couple of things though:
1. The file include in the package in this thread ARE the ones directly taken from the production site. I just changed the Payson credentials.

2. Did you notice that there are TWO places where you need put the payson_notify.php?

In the Agentintegration (Payment method in VM) there are two paths:
$OkUrl = SECUREURL ."administrator/components/com_virtuemart/payson_notify.php";
$CancelUrl = SECUREURL ."components/com_virtuemartpayson_notify.php?order_id=".$db->f('order_id');


Reason for this is that any transaction that returns from Payson needs to access this file. A transaction that has been cancelled, had (in my installation anyway), problem to access the /administrator/ directories. Normal calls into this directory is made by the Joomla/component system (like VM), not from an outside transaction, that has lost contact with the system.

The only way I could make it work was to copy this file into the /components/ directory.

In short, same file - two places.


Oh, and if you don't run HTTPS protocol on your server, then the SECUREURL in VM config should be the same as the normal URL.


Hope it made things less blurry.  :)

Regards
Akerman

[attachment cleanup by admin]
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: cjes on November 05, 2008, 20:02:18 PM
Hi Akerman,

Thank you for sharing more information with us!

I have checked all again and it seems I have followed all your instructions in the correct way, but still I can not return from the Payson-https to my store. Payment, order information, etc. is accepted correctly though.

Frustrating as I am so close...!

I have made a file to document all the individual changes to make in the files you have provided, might help others I hope.

May you (or others) have any ideas what is going wrong please let us know.

Thanks

cjes

[attachment cleanup by admin]
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on November 07, 2008, 18:58:48 PM
Hi,

I took a closer look on your error report from Nov 2 above.


The file payson_notify.php is obviously read correct, because it halts on line 105 and indicates that it is not allowed to access (or can't find) 'virtuemart.cfg.php' in the /administrator directory. Even though the path (absolute URL) is given on line 105.

   /*** VirtueMart part ***/       
        require_once($mosConfig_absolute_path.'/administrator/components/com_virtuemart/virtuemart.cfg.php');


Since you seem to be running Windows please check all paths, URL and the access for Joomla! and VM in regards of how these systems (CMS and component) perceive the world.

I think that is likely to be the problem. According to your error above anyway... 

Happy hunting, and don't give up!  :)

Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: mrroberto on November 18, 2008, 11:13:54 AM
hi,
virtuemart payson.se module now available at softdb.eu

regards,
roberto
softdb.eu
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: akerman on November 21, 2008, 08:36:00 AM
It's good that there are alternative payment solutions available.

However, you must be aware of two things:

1. I'm going to try to make an easy, installable solution of my Payson Agentintegration for VM as described above, and it's going to be released as either CC (GNU/GPL) or for a very small administrative fee. I think it's important to give back to the community.

2. I really hope non of my code is inside your product.

Regards
Akerman
Title: Re: Pay & Read Payer for VISA, MasterCard, Diners
Post by: antracit on January 23, 2009, 10:55:07 AM
Hi
This is funny!  ;D

I just managed to install this Payson payment module with all the files and instructions provided by akerman, Thanks!!

It's working perfect at my Blacksmith site http://www.antracit.se

Tip!
Now this day there was a Free Virtuemart plug-in of many Swedish payment systems published at JED! Seems simple and easy to use!

Bundle of Payment modules Sweden to implement into Virtuemart!
http://extensions.joomla.org/extensions/extension-specific/virtuemart-extensions/virtuemart-payment-systems/7042/details

Thanks!

//Antracit

Title: Payson errors
Post by: MrCT on August 21, 2009, 13:55:17 PM
Hey you!

This is a slightly old thread, but..

I'm the webmaster for a small non-profit organization. I've set up VM so our members can pay their fees via internet. At first I used PayPal to receive money. However, since we don't have a credit card to confirm "us" with, PayPal is a mess to work with!

I've gone trough every step in this thread while installing the Payson module (thanks for that one, by the way!), but I have the same problem some already talked about..

Quote from: akerman on November 07, 2008, 18:58:48 PM
Since you seem to be running Windows please check all paths, URL and the access for Joomla! and VM in regards of how these systems (CMS and component) perceive the world.

I think that is likely to be the problem. According to your error above anyway... 

First; At checkout (payson logo showing, "press button to pay") I get this error:

Warning: Missing argument 1 for ps_checkout::calc_order_taxable(), called in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/classes/ps_checkout.php on line 1274 and defined in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/classes/ps_checkout.php on line 1418

I can still go to Payson and pay, and the money goes trough.

After finished payment, when redirecting back to my site, I get these error messages:

Warning: Cannot modify header information - headers already sent by (output started at /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/payson_notify.php:1) in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/payson_notify.php on line 36

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/payson_notify.php:1) in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/libraries/joomla/session/session.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/payson_notify.php:1) in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/libraries/joomla/session/session.php on line 426

Warning: require_once() [function.require-once]: Unable to access /administrator/components/com_virtuemart/virtuemart.cfg.php in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/payson_notify.php on line 105

Warning: require_once(/administrator/components/com_virtuemart/virtuemart.cfg.php) [function.require-once]: failed to open stream: No such file or directory in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/payson_notify.php on line 105

Fatal error: require_once() [function.require]: Failed opening required '/administrator/components/com_virtuemart/virtuemart.cfg.php' (include_path='.:/usr/share/php') in /customers/eslovsbudoklubb.se/eslovsbudoklubb.se/httpd.www/site/administrator/components/com_virtuemart/payson_notify.php on line 105


I'm kind of stuck now! I don't really know what to do.
Any help is greatly appreciated!

//MrCT