Changing the Order State

View: New views
3 Messages — Rating Filter:   Alert me  

Changing the Order State

by Hannes Calitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hey guys

I'm busy working on the Netcash payment processor. The processor posts
to an external website, and then on completion posts back to my
GetPaid instance. Now on the post back I need to change the state of
the order from "Charging" to "Charged".

Does anyone know what function I would call to do this?

Thanks
Hannes
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
To post to this group, send email to getpaid-dev@...
To unsubscribe from this group, send email to getpaid-dev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Changing the Order State

by Taito Horiuchi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,


I'm busy working on the Netcash payment processor. The processor posts
to an external website, and then on completion posts back to my
GetPaid instance. Now on the post back I need to change the state of
the order from "Charging" to "Charged".

order.finance_workflow.fireTransition('charge-charging')

You may want to read finance.txt file from Products.PloneGetPaid package.

Taito


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
To post to this group, send email to getpaid-dev@...
To unsubscribe from this group, send email to getpaid-dev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Changing the Order State

by Hannes Calitz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sweet. Thanks. I'll have a look.

2009/7/28 Taito Horiuchi <taito.horiuchi@...>
Hello,


I'm busy working on the Netcash payment processor. The processor posts
to an external website, and then on completion posts back to my
GetPaid instance. Now on the post back I need to change the state of
the order from "Charging" to "Charged".

order.finance_workflow.fireTransition('charge-charging')

You may want to read finance.txt file from Products.PloneGetPaid package.

Taito





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "getpaid-dev" group.
To post to this group, send email to getpaid-dev@...
To unsubscribe from this group, send email to getpaid-dev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/getpaid-dev?hl=en
-~----------~----~----~----~------~----~------~--~---