remp2020 / crm-payments-module Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello Peter!
I didn't know where to write my question, so I'm asking here. We have the following situation, we have a payment system similar to stripe. I am currently writing a custom module for it called myCustomPaymentModule.
We are doing the following implementation: our website displays payment options, there are many of them, but I want to analyze at least one, the user clicks on the payment, and through the api I want to pass all the data for the crm-skeleton to my MyCustomPaymentModue.
In this module, I open the api endpoint, and there is some kind of handler that should return the checkoutPage from the payment system to our site. Initially, I had an idea to call an intermediate request from the CRM itself after the necessary data comes through the api, something like httpClient->post('/sales-funnel/sales-funnel-frontend/submit', $data)
so that all customer data is stored in the CRM and analytics works, but I faced the problem that if I return checkouturl, then all the logic in the CRM breaks down.
If I have clearly described the problem, please tell me in which direction and where to look so that crm acts only as a mediator and stores all intermediate results eg falied, paid, proceeded, etc. and the payment buttons themselves are on our site, and all responses from the payment system are also received by our site, but also through crm to record everything in the database? Do we need to write a new sales-funnel implementation or is there an even better way to implement it through the api?
Thank you!
UPD
ATM I reilized custom $gateway->process(), $gateway->getResponseData(), $gateway->isSuccessful methods in my GenericGateway, and now i can return url in $gateway->process method looks like everething works
Maybe we have better way.
payments/payments-recurrent-admin/duplicates
Duplicate Payments
displays as Duplicitné rekurentné platby
payments/payments-admin/
Payments
displays as Send notification via email
Bug is for example in /payments/payments-admin/edit/
Nette\MemberAccessException: Cannot read an undeclared column 'postal_fee_id'. in /data/www/wbn_remp/Crm/vendor/nette/database/src/Database/Table/ActiveRow.php:299 @ http://??????/payments/payments-admin/edit/9075?userId=6
there is just needed to add that to the migrations file
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.