VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Payment Modules => Topic started by: gwen on October 04, 2005, 11:21:02 AM

Title: changing the Pending code
Post by: gwen on October 04, 2005, 11:21:02 AM
hi,

P is the pending code for any payment like phone, check, iban transfert, etc...

I'd like to make a difference between those type of payement:
PP pending phone
PC pending check
PI pending IBAN

I've seen that the enable_processor table field is use with the 'P'
enable_processor='P'...but I'm not sure that there is a link betwwen this P andthe Pending P

it's possible to add some line in the mos_pshop_order_status table ?

PP Waiting for Phone call
PI Waiting for IBAN transfert

etc... ?

how phpshop will use them after ?





Title: Re: changing the Pending code
Post by: Soeren on October 04, 2005, 15:59:58 PM
Hello,

if you add new order status codes, mambo-phpShop will not use them, but you can assign orders to that order status.
You shouldn't delete or rename the built-in "Pending" Status. It's hardcoded in some parts. We always need a status that has the general meaning of "Pending" and currently it's that order status with the code "P".

ciao, Soeren
Title: Re: changing the Pending code
Post by: gwen on October 05, 2005, 12:51:18 PM
hi soeren,

ok that was why I'had so many problem to implement the bank payment system  ;)
I used to change everything ... and of course the Pending code !

thanks for your quick reply