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
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", )
def get_redirection(self, transaction) -> Redirection: return Redirection( url="https://pay.ir/pg/%s" % transaction.id, method="get", )
def get_redirection(self, transaction) -> Redirection: return Redirection( url="https://pec.shaparak.ir/NewIPG", query_params=dict(Token=transaction.id), method="get", )
def get_redirection(self, transaction) -> Redirection: return Redirection(url=transaction.meta["url"], method="get")
def get_redirection(self, transaction) -> Redirection: return Redirection( url="https://bpm.shaparak.ir/pgwchannel/startpay.mellat", body_params=dict(RefId=transaction.id), method="post", )
def get_redirection(self, transaction) -> Redirection: return Redirection( url="https://www.zarinpal.com/pg/StartPay/%s" % transaction.id, method="get", )
def get_redirection(self, transaction) -> Redirection: return Redirection( url="https://asan.shaparak.ir/", body_params=dict(RefId=transaction.id, RedirctToIPGFORM="true"), method="post", )
def get_redirection(self, transaction) -> Redirection: return Redirection( url="https://panel.aqayepardakht.ir/startpay/%s" % transaction.id, method="get", )