1

I have to use gocardless payment gateway with Django, How can I use this with my project.

are there any good django packages ,which support this latest gocardless payments,

Zulu
  • 8,765
  • 9
  • 49
  • 56
user2088432
  • 375
  • 1
  • 4
  • 17

1 Answers1

1

You can use the python gocardless package in django

Installation:

pip install gocardless_pro

Implementation:

import gocardless_pro
import os
client = gocardless_pro.Client(
    access_token=os.environ['GC_ACCESS_TOKEN'], 
    environment='sandbox'
)
print(client.customers.list().records)

To get started learning the GoCardless API, read through the tutorial with python code samples at https://developer.gocardless.com/getting-started/api/introduction/?lang=python

Andrew Farrell
  • 2,368
  • 2
  • 22
  • 25
dhana
  • 6,487
  • 4
  • 40
  • 63