Connect the landing form to the Getscourt through the POST API query
Accordingly, when a user fills in the form and presses the button you need:
1 .Like before sending a letter with the data from the form to our emails.2ndForm a POST query with the data from the form and swit it into a ghetto.ThreeWait for the answer from the ghetto and remove the link to the payment from it.4 .Transfer the user to this link.In theory, between paragraphs 2 and 3, there can be a delay of a few seconds.And you may not even return anything in response (or return with a mistake if, for example, the user has entered any in the form)
Therefore, according to the idea there should be some other user notification such as "We form a order, now you will be redirected to the payment page"
and add a response check from GK and give the user the info that something he entered wrong if he entered something wrong.And if the ghetto does not respond (it depends, for example) - then give the user the page of the motto "Oh, something went wrong, but you don't worry - our managers will contact you soon and everything will send you."
_____
API documentation: https://getcourse.ru/help/api
We need to transmit this here (user import - for quick search in the API):
curl -i -H "Accept: application/json; q=1.0, */*; q=0.1" "https://{account_name}.getcourse.ru/pl/api/deals" -data "action=add&key={secret_key}¶ms={params}"
The example:
Basic 64_encode
by {
“User” :{
“Email” →
“Phone” :”
“first_name” is
and the
and the system:{
"refresh_if_exists":0, // to update the existing user 1/0 yes/no
"multiple_offers":0, // add several offers to the order 1/0
"return_payment_link":1, // return the link to the payment 1/0
"return_deal_number":1 // return the order number 1/0
and the
of the session:{
“utm_source” means “site”
“utm_medium” means “banner”
“utm_campaign”: “specoffer”
and the
The deal: {
“offer_code”: “2633811”,
“Quantity”: 1, // quantity
“deal_cost”: “300000”
The
The API will give the answer, you need to take a link to pay and redirect the visitor through it.
Client's review of cooperation with freelancer
Connect the landing form to the Getscourt through the POST API querySergey performed the task well in a short time.
He did so quickly and asked clarificating questions.
I recommend cooperation!
Freelancer's review of cooperation with Vladislav Serov
Connect the landing form to the Getscourt through the POST API queryI am very pleased with working with Vladislav. Very clear TZ, fast and decent payment, always in contact. I recommend!
![]()
-
175 9 3 1 In a few hours I will realize it.
* * * * * * * * * * * * * * * * * * * *
-
6237 198 0 Ready to start work.
Let’s discuss the details.
Portfolio: http://riashentsev.com.ua/?flh=rate#portfolio
-
4182 198 2 5 Good day . I read it all, met it. Let me realize! to turn.
-
Да, все страницы есть либо легко добавим по надобности. Там очень примитивный лендинг.
-
Current freelance projects in the category Javascript and Typescript
Support and development of the cleaning company's website
21 USD
I'm looking for a web developer/webmaster for long-term support and development of a cleaning company's website. Website: https://donely.ca About the project DoneLy Home Services is a cleaning service company in Canada that is actively growing and expanding its geographical… Javascript and Typescript, Web Programming ∙ 1 day 23 hours back ∙ 59 proposals |
Development of a website according to the specifications on FramerYou need to create a website based on the parameters in the technical specification. https://docs.google.com/document/d/1ODO2C9Krb4AaMiJz9wfbNzWlAyA2FwCCHL8r0biajUY/edit?usp=sharing Please provide your actual rate based on this design. HTML & CSS, Javascript and Typescript ∙ 3 days back ∙ 27 proposals |
Development of an interactive Palworld map for the websiteWe need to develop an interactive map for Palworld based on the example: https://palworld.gg/map We need not just a static image, but a full-fledged interactive map where users can view locations, toggle object categories on/off, search for specific points, and interact with… HTML & CSS, Javascript and Typescript ∙ 4 days 15 hours back ∙ 33 proposals |
Development of the AM Mobility platform (car service, parking, insurance, car rental)
5794 USD
We are looking for a team or an experienced Full Stack developer to create the MVP of the AM Mobility platform. AM Mobility is a unified digital ecosystem for motorists, combining in one application and web platform: parking; car service; tire fitting; car wash; car rental;… Javascript and Typescript, Web Programming ∙ 9 days 21 hours back ∙ 119 proposals |
Gsap animations
22 USD
Good day. Corrections need to be made in the current project. A specialist is needed who works well with gsap/lenis. Animation of cards needs to be done. Detailed specifications here:… Javascript and Typescript, Web Programming ∙ 10 days 3 hours back ∙ 21 proposals |