Page 1 of 1
Unknown pmtaction value
Posted: Fri May 15, 2009 11:11 pm
by Bluffnaked
I keep gettting this error when i go from open cart to paypal. I've looked over every possible thing that could be wrong and nothing seems to work. I'm using the latest version off open cart, just downloaded it yesterday. I have an older version of open cart that seems to work ok with paypal, the reason I wanted to try the newest version, is that in the other version I could never get shipping to show up in the total. It didn't matter if I used per item or flat fee shipping, when it came time to checkout I could only ever get the price of my item to show up as a final total. Anyway any help on what this unknown pmt action value is would be helpful.
Re: Unknown pmtaction value
Posted: Sun May 17, 2009 5:50 am
by reighny
open: catalog/controller/payment/paypal.php
change:
$this->data['paymentaction'] = 'Authorization';
to
$this->data['paymentaction'] = 'authorization';
and change:
$this->data['paymentaction'] = 'Sale';
to
$this->data['paymentaction'] = 'sale';
It's case-sen...
Re: Unknown pmtaction value
Posted: Tue May 19, 2009 7:52 am
by pee
Thanks! This fixed my problem. ;-)
Re: Unknown pmtaction value
Posted: Tue Jun 09, 2009 7:12 am
by fulgerul
Thank you so much for this explication, now working

Re: Unknown pmtaction value
Posted: Thu Jun 11, 2009 1:15 am
by xemplifly
Thank you, this worked great.
Re: Unknown pmtaction value
Posted: Thu Jul 02, 2009 11:00 am
by SparxGroup
Thanks

Also fixed problem for me.
This should be fixed in new release of opencart shouldn't it?

Re: Unknown pmtaction value
Posted: Thu Jul 23, 2009 7:39 am
by deluzione
That did the trick for me too.. Thanks!