This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -710,7 +710,10 @@ def handle_response(resp, contract):
710710 request .args ["country" ][0 ].decode ("utf8" )
711711 if "country" in request .args else None ,
712712 request .args ["moderator" ][0 ] if "moderator" in request .args else None ,
713- options )
713+ options ,
714+ request .args ["alternate_contact" ][0 ].decode ("utf8" )
715+ if "alternate_contact" in request .args else None ,
716+ )
714717
715718 def get_node (node ):
716719 if node is not None :
Original file line number Diff line number Diff line change @@ -288,7 +288,8 @@ def add_purchase_info(self,
288288 postal_code = None ,
289289 country = None ,
290290 moderator = None ,
291- options = None ):
291+ options = None ,
292+ alternate_contact = None ):
292293 """
293294 Update the contract with the buyer's purchase information.
294295 """
@@ -322,7 +323,8 @@ def add_purchase_info(self,
322323 }
323324 },
324325 "payment" : {},
325- "refund_address" : refund_address
326+ "refund_address" : refund_address ,
327+ "alternate_contact" : alternate_contact if alternate_contact is not None else ""
326328 }
327329 }
328330 }
You can’t perform that action at this time.
0 commit comments