Open believeohiozua opened 4 years ago
http://127.0.0.1:8000/profile/abc/?csrfmiddlewaretoken=o3M4RnKagE4OwQ9ShDe6XMUp6XtCXBvaqFXMODoEwhBvaKLQZBh160sz7kEBT9zF&submission=submissionfee&author=9&slug=am-in-love-episode-01&pub_id=3&bank_payment_submission= 2.2.9 APIError Plan not found C:\Users\abc\Envs\prof\lib\site-packages\paystack\resource.py in initialize, line 316 C:\Users\abc\Envs\prof\Scripts\python.exe 3.7.3 ['G:\WEBDEV\src', 'C:\Users\abc\Envs\prof\Scripts\python37.zip', 'C:\Users\abc\Envs\prof\DLLs', 'C:\Users\MrBIG\Envs\prof\lib', 'C:\Users\abc\Envs\prof\Scripts', 'c:\users\abc\appdata\local\continuum\anaconda3\Lib', 'c:\users\abc\appdata\local\continuum\anaconda3\DLLs', 'C:\Users\abc\Envs\prof', 'C:\Users\abc\Envs\prof\lib\site-packages'] Wed, 12 Feb 2020 06:36:47 +0000
code
def main(): rand = ''.join( [random.choice( string.ascii_letters + string.digits) for n in range(16)]) secret_key ='**********************************' random_ref = rand test_email = '************@***.com' test_amount = 2000*100 authorization_code=secret_key plan = 'basic' client = TransactionResource(secret_key, random_ref) response = client.initialize(test_amount, test_email, plan) print('\n RESPONSE',response) client.authorize() # Will open a browser window for client to enter card details verify = client.verify() # Verify client credentials print('\n Verify',verify) print('\n Charge',client.charge()) # Charge an already exsiting client
http://127.0.0.1:8000/profile/abc/?csrfmiddlewaretoken=o3M4RnKagE4OwQ9ShDe6XMUp6XtCXBvaqFXMODoEwhBvaKLQZBh160sz7kEBT9zF&submission=submissionfee&author=9&slug=am-in-love-episode-01&pub_id=3&bank_payment_submission= 2.2.9 APIError Plan not found C:\Users\abc\Envs\prof\lib\site-packages\paystack\resource.py in initialize, line 316 C:\Users\abc\Envs\prof\Scripts\python.exe 3.7.3 ['G:\WEBDEV\src', 'C:\Users\abc\Envs\prof\Scripts\python37.zip', 'C:\Users\abc\Envs\prof\DLLs', 'C:\Users\MrBIG\Envs\prof\lib', 'C:\Users\abc\Envs\prof\Scripts', 'c:\users\abc\appdata\local\continuum\anaconda3\Lib', 'c:\users\abc\appdata\local\continuum\anaconda3\DLLs', 'C:\Users\abc\Envs\prof', 'C:\Users\abc\Envs\prof\lib\site-packages'] Wed, 12 Feb 2020 06:36:47 +0000
code