Beispiel #1
0
 def get_redirection(self, transaction) -> Redirection:
     result = Redirection(
         url="/".join((self.__class__.__base_url__, str(transaction.id))),
         method="get",
     )
     print("New redirection created: \n%s" % result.__repr__())
     return result
Beispiel #2
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(
         url="https://ikc.shaparak.ir/TPayment/Payment/index",
         body_params=dict(
             token=transaction.id,
             merchantId=self.config["merchant"],
             pay="submit",
         ),
         method="post",
     )
Beispiel #3
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(
         url="https://pay.ir/pg/%s" % transaction.id,
         method="get",
     )
Beispiel #4
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(
         url="https://pec.shaparak.ir/NewIPG",
         query_params=dict(Token=transaction.id),
         method="get",
     )
Beispiel #5
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(url=transaction.meta["url"], method="get")
Beispiel #6
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(
         url="https://bpm.shaparak.ir/pgwchannel/startpay.mellat",
         body_params=dict(RefId=transaction.id),
         method="post",
     )
Beispiel #7
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(
         url="https://www.zarinpal.com/pg/StartPay/%s" % transaction.id,
         method="get",
     )
Beispiel #8
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(
         url="https://asan.shaparak.ir/",
         body_params=dict(RefId=transaction.id, RedirctToIPGFORM="true"),
         method="post",
     )
Beispiel #9
0
 def get_redirection(self, transaction) -> Redirection:
     return Redirection(
         url="https://panel.aqayepardakht.ir/startpay/%s" % transaction.id,
         method="get",
     )