Python Скрипт Для Google Functions. DocuSign API, Stripe API
117 USDСоставные части:
1. Google Firestore: База данных NoSQL, в которой мы будем хранить документы (формат JSON): Пример документа:
- Информация о клиенте
- Информация о владельце
- Информация о контракте.
- Информация о счете
2. Функции Google: функция Google будет запускаться каждый раз, когда документ загружается в Google Firestore.
3. DocuSign API (https://developers.docusign_com/): электронная подпись контракта. Это используется для создания контракта и отправки его клиенту на подпись.
4. Stripe API: Платежи. Вместе с договором клиент получит ссылку для оплаты счета.
5. Функция обратного звонка: когда клиент оплачивает счет или подписывает контракт, должен быть инициирован обратный звонок.
- Обновите статус предложения до счета-фактуры.
Поток:
1. Документ добавлен в Firestore.
2. Срабатывает GF (функция Google):
3. GF вызывает DocuSign API, чтобы создать контракт и отправить его клиенту на подпись.
4. GF вызывает Stripe API и создает счет.
5. GF отправляет электронное письмо / текстовое сообщение с URL-адресами для DocuSign и Stripe.
6. Обратный вызов: когда пользователь оплачивает счет Stripe или подписывает контракт на DocuSign, запись обновляется в базе данных FireStore.
English Version:
Components:
1. Google Firestore: NoSQL Database where we'll store documents (Json Format): Document example:
- Client information
- Owner information
- Contract information.
- Invoice information
2. Google Functions: Google function will be triggered each time a document is uploaded to Google Firestore.
3. DocuSign API (https://developers.docusign_com/): contract E-signiture. This is used to create a contract and send it to the client for a signiture.
4. Stripe API: Payments. Along with the contract the client will receive the link to pay the invoice.
5. Call back function: When the client pays the invoice or signs the contract., a callback should be triggered.
- Update the status of the quote to invoice.
Flow:
1. A document is added to Firestore.
2. GF (Google function) is triggered:
3. GF calls DocuSign API to create a contract and send it the client for signing
4. GF calls Stripe API and creates an invoice.
5. GF Sends an email/text message with the URLs for DocuSign and Stripe
6. Callback: when user pays the Stripe invoice or signs the contract on DocuSign, a record is updated in the FireStore database.
Пример документа в Firestore:
Input Example: {
"name": "Invoice #194",
"client": {
"company_name": "Tesla",
"Contact_person" : "Elon Musk",
"phone": "124112",
"email": "elon_tesla_om",
"address": {
"address": "647 Beverly Hill St",
"city": "Los Angels",
"zip": "78302",
"state": "california"
}
},
"owner": {
"company_name": "SpaceX",
"Contact_person" : "James Bond",
"phone": "123123",
"email": "james_spacex_com",
"address": {
"address": "111 Beverly Hill St",
"city": "Los Angels",
"zip": "11111",
"state": "california"
}
},
"contract": {
"file_url": "file_uls",
"field_positions": [
{
"value": "company_name",
"x_offset": 176.3,
"y_offset": 15.0
},
{
"value": "contact_person",
"x_offset": 53.2,
"y_offset": 103.9
},
...
],
"signiture": {
"signiture_image_url": "url_link",
"x_offset": 629.1,
"y_offset": 32.8
}
},
"invoice": {
"items": [
{
"name": "computer",
"qty": 1,
"price": 18.4,
"note": "thinkpad P955"
},
....
],
"total": {
"subtotal": 300.0,
"tax": 100.0,
"total": 400.0
},
"payment_method": {
"name": "stripe",
"url": "stripe_com",
"secret_code": "ifdjsf32hufd84343009f",
...
}
}
}
Долгосрочное сотрудничество если проект выполнен хорошо.
Client's review of cooperation with Serhii Tokarev
Python Скрипт Для Google Functions. DocuSign API, Stripe APIРабота выполнена очень быстро и качественно!
![]()
Freelancer's review of cooperation with client
Python Скрипт Для Google Functions. DocuSign API, Stripe APIотличный заказчик всем рекомендую к сотрудничеству, 10 из 10 =)
-
973 10 0 Добрый день , очень интересный заказ , готов выполнить на Python
сроки обсуждаются , всегда беру с запасом, что бы не подводить заказчика
У меня есть вопрос :
количество колов укладываться в стандартные лимиты API ?
-
1825 26 1 1 Добрый день. Это можно реализовать есть опыт работы с API DocuSign. Самое главное чтобы акк страйпа был активен
Current freelance projects in the category Python
Excel Specialist / Process Automation (Excel + preferably programming)We are looking for a specialist with ADVANCED knowledge of Excel to optimize the existing file and automate processes. It will be a great advantage if you also have programming skills / VBA / Power Query / Power Automate or experience in creating complex logic in Excel. Project… Python, Databases & SQL ∙ 21 minutes back ∙ 5 proposals |
Automation of processes through API and PythonBelow I described the current process and the result I would like to achieve. I also attach files of the real process to better understand how it looks in reality Current process Currently, the entire process is performed manually: uploading/downloading files, transferring… AI & Machine Learning, Python ∙ 1 hour 22 minutes back ∙ 18 proposals |
A bot needs to be created in Telegram for subscription payment.
45 USD
A bot needs to be created in Telegram where users can subscribe for access to the webcams located in the yard. Organize payment for two types of subscriptions (monthly and daily) in the bot. The bot should automatically check the payment and then provide access links. Python, Bot Development ∙ 14 hours 9 minutes back ∙ 67 proposals |
Parsing and classification of a large array of imagesIt is necessary to implement a project for collecting and structuring a large array of architectural images from open web sources.The task includes: automated collection of images; uploading files in the highest available quality; classification of images by categories:… Python, Data Parsing ∙ 21 hours 9 minutes back ∙ 30 proposals |
Business logic of the platform: class confirmation, attendance control, and lesson history (DjangoRefinement of the business logic of the educational platform: lesson confirmation, attendance control, and lesson history (Django + React) A complete system for lesson confirmation, attendance control, and storage of confirmation history needs to be implemented. Important… Python ∙ 3 days 2 hours back ∙ 29 proposals |