Skip to content

Commit e845764

Browse files
author
Tom Canabarro
committed
Merge pull request #5 from leo-ossais/master
Add and return Boleto URL
2 parents 5f34448 + 3e51cb9 commit e845764

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

maxipago/resources/payment.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ def process(self):
3232
('orderID', 'order_id'),
3333
('referenceNum', 'reference_num'),
3434
('transactionTimestamp', 'transaction_timestamp'),
35+
('boletoUrl', 'boleto_url'),
36+
('responseCode', 'response_code'),
3537
]
3638

3739
for f_name, f_translated in fields:
@@ -48,3 +50,5 @@ def process(self):
4850
elif response_message == 'captured':
4951
self.authorized = True
5052
self.captured = True
53+
elif response_message == 'issued':
54+
self.authorized = True

0 commit comments

Comments
 (0)