|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
on_retrieve_order(self,
order_id,
context=None)
This hook is called from message processing code just before calling
the corresponding message handler. |
source code
|
|
|
|
handle_new_order(self,
message,
order_id,
context,
order=None)
Google sends a new order notification when a buyer places an order
through Google Checkout. |
source code
|
|
|
|
| handle_order_state_change(self,
message,
order_id,
context,
order=None) |
source code
|
|
|
|
| handle_authorization_amount(self,
message,
order_id,
context,
order=None) |
source code
|
|
|
|
handle_risk_information(self,
message,
order_id,
context,
order=None)
Google Checkout sends a risk information notification to provide
financial information that helps you to ensure that an order is not
fraudulent. |
source code
|
|
|
|
| handle_charge_amount(self,
message,
order_id,
context,
order=None) |
source code
|
|
|
|
| handle_refund_amount(self,
message,
order_id,
context,
order=None) |
source code
|
|
|
|
| handle_chargeback_amount(self,
message,
order_id,
context,
order=None) |
source code
|
|
|
|
handle_notification(self,
message,
order_id,
context,
order=None)
This handler is called when a message received from GC and when the more
specific message handler was not found or returned None (which means
it was not able to process the message). |
source code
|
|
|
|
|
|
|
| __call_handler(self,
handler_name,
context,
*args,
**kwargs) |
source code
|
|
|
|
_send_xml(self,
msg,
context,
diagnose)
The helper method that submits an xml message to GC. |
source code
|
|
|
|
| send_message(self,
message,
context=None,
diagnose=False) |
source code
|
|
|
|
| __process_message_result(self,
response_xml,
context) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
| send_buyer_message(self,
order_id,
message) |
source code
|
|
|
|
| add_merchant_order_number(self,
order_id,
merchant_order_number) |
source code
|
|
|
|
| add_tracking_data(self,
order_id,
carrier,
tracking_number) |
source code
|
|
|
|
|
|
|
| refund_order(self,
order_id,
amount,
reason,
comment=None) |
source code
|
|
|
|
|
|
|
| cancel_order(self,
order_id,
reason,
comment=None) |
source code
|
|
|
|
|
|
|
| deliver_order(self,
order_id,
carrier=None,
tracking_number=None,
send_email=None) |
source code
|
|
|
|
|
|
|
| receive_message(self,
message,
order_id,
context) |
source code
|
|
|
Inherited from ControllerLevel_1:
__init__,
create_HMAC_SHA_signature,
get_cart_post_button,
get_checkout_button_url,
get_client_donation_url,
get_client_post_cart_url,
get_donation_button_url,
get_order_processing_url,
get_server_donation_url,
get_server_post_cart_url,
prepare_donation,
prepare_order
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|