1

Updated blog structure testing 2

 2 years ago
source link: https://dev.to/testacc127000/updated-blog-structure-testing-2-2a7f
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Cover image for Updated blog structure testing 2

Updated blog structure testing 2

Steps to integrate Razorpay

Update feature testing after updating blog structure.

  • Change database structure on devto

  • Storing API keys in settings.py

  • Installing Razorpay library.

  • Creating order using Razorpay API.

  • Creating order at backend and also creating Razorpay order.

    • Show template
    • render to payment.html
    • Get info of call back URL
    • Done with creating an order.

Uploading a File

There are three ways you can upload a file:

  • From an Object instance

  • From a Bucket instance

  • From the client

In each case, you have to provide the Filename, which is the path of the file you want to upload. You’ll now explore the three alternatives. Feel free to pick whichever you like most to upload the first_file_name to S3.

class PaymentStatus: SUCCESS = "Success" FAILURE = "Failure" PENDING = "Pending"

💡 Testing call out block


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK