Permalink
Browse files

Refs #35. Fix the failing test caused by the Amazon FPS rewrite for v…

…ersion 2.5.2.
  • Loading branch information...
1 parent 10022d2 commit d0f1065100d6f688ef8139291968ee042ad3d9a9 @theju theju committed Aug 13, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 billing/integrations/amazon_fps_integration.py
@@ -55,10 +55,10 @@ def link_url(self):
tmp_fields.pop("aws_access_key", None)
tmp_fields.pop("aws_secret_access_key", None)
tmp_fields.pop("paymentPage", None)
- return self.fps_connection.make_url(tmp_fields.pop("returnURL"),
- tmp_fields.pop("paymentReason"),
- tmp_fields.pop("pipelineName"),
- str(tmp_fields.pop("transactionAmount")),
+ return self.fps_connection.cbui_url(returnURL=tmp_fields.pop("returnURL"),
+ paymentReason=tmp_fields.pop("paymentReason"),
+ pipelineName=tmp_fields.pop("pipelineName"),
+ transactionAmount=str(tmp_fields.pop("transactionAmount")),
**tmp_fields)
def purchase(self, amount, options=None):

0 comments on commit d0f1065

Please sign in to comment.