Comments (1)
ya, tiene la funcionalidad, seria implementando algunas variables como:
"splitpayment":"true",
"split_app_id":"xxxx",#este es el id del cliente de la app
"split_merchant_id":"xxxxx",#este es el id del cliente con quien se realizara el split
"split_type" : "02",#tipo de split, de cauerdo a la documentacion es 02 por porcentaje 01 valor fijo
"split_primary_receiver" : "xxxxx", #id del primer recibirdor, por lo general es "split_app_id"
"split_primary_receiver_fee":"10",#comicion del primer recibidor, split_primary_receiver en este caso 10%, para el split_merchant_id sera el 90%.
este es un ejemplo completo:
payment_info = {
"token_card": token['id'],
"customer_id": customer_id,
"doc_type": "CC",
"doc_number": "1000000",
"name": "John",
"last_name": "Doe",
"email": "[email protected]",
"ip": "192.198.2.114",
"bill": "OR-12345",
"description": "Test Payment",
"value": "119000",
"tax": "19000",
"tax_base": "100000",
"currency": "COP",
"dues": "12",
"splitpayment":"true",
"split_app_id":"19520",
"split_merchant_id":"17511",
"split_type" : "02",
"split_primary_receiver" : "19520",
"split_primary_receiver_fee":"10",
}
from epayco-python.
Related Issues (13)
- create a pending charge HOT 1
- Integración con Django (Django integration) HOT 2
- Error 100, desconocido HOT 1
- Carpeta Utils no es instalada junto con los demas archivos [No such file or directory -> key_lang.json] HOT 3
- json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) HOT 4
- Soporte para Reversiones
- Banka: Ocurrió uno error: undefined
- No such file or directory: 'pyepayco/utils/key_lang.json' HOT 9
- pip install epayco-python no funciona HOT 4
- El SDK de Python no permite cancelar suscripciones HOT 2
- https://api.secure.payco.co/ STATUS 502 HOT 2
- Error en Retrieve customer HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epayco-python.