Node API updates

We need to update the endpoint - sendInvoiceToCustomer, the goal for the API is - once the payment goes through to Payleadr, kick off the Learnt account creation process, generate the pdf invoice and attach that to the welcome email (There are pdf invoice and welcome email examples for other payments in the project, like afterpay, credit card, you can follow them).

Now, the invoice and email can be generated and sent, but the total price in the invoice is incorrect and it does not create an account for the user.

These are the actions:

1) Now it is basing the invoice on a single payment from the subscription plan, which means the invoice only includes one weekly payment, not the total amount of the course. if I just purchased a course for $199 and the invoice was only for $3.48. We need to - rather than basing the invoice on the Payleadr payment plan, the Learnt invoice should just be for the full amount of the order.

2) This function doesn't actually create the Learnt account so even though the user is getting sent an invoice they do not actually have access to the course they have purchased. This needs to follow the same steps as handlePaymentIntentSuccess does for stripe payments where it makes various checks and then sets up the customer account

Please review handlePaymentIntentSuccess and if you look at the comments there are 10 steps that goes through - we need to do the same things for Paylaedr payments but instead of getting the customer data from stripe, we get it from Payleadr.

/1. Get customer data from paylaedr

//2. check if valid customer type

//3. get relevant customer application repository based on customer type

//4. get relevant customer application

//5. get relevant customer transaction repository based on customer type

//6. get relevant customer transaction document by paymentIntentId

//7. check if customer has valid earn qantas rewards settings

//8. create relevant customer transaction document

//9. Earn points for customer (if relevant based on #7)

//10. setup customer account

[login to view URL]

payleadr info:

You can test the 7 payleadr APIs in the attached collection, the last API is the one that needs to be updated, in param- planId of the last API has to be gotten from API addSubscriptionPlan in this collection

This project needs to be done in 24 hours.

Evner: Software Arkitektur, Node.js, JavaScript, Typescript, Stribe

About the Client:
( 15 bedømmelser ) Melbourne, Australia

Projekt ID: #32727657

24 freelancere byder i gennemsnit $576 timen for dette job

(18 bedømmelser)
(16 bedømmelser)

Dear sir, I am ready to update your noidejd API, as per your needs. Hope you are doing well. I have read your project description, so I would like to work with you for the long term. I have 9 years of working experi Flere

$500 AUD in 7 dage
(38 bedømmelser)
(6 bedømmelser)

Hello, Hope you are doing great. I have recently reviewed your requirements and according to my knowledge, you want to add a functionality of sending the invoice to the customers, integrating API I believe with a te Flere

$550 AUD in 7 dage
(20 bedømmelser)

Node.js Expert. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating from this platf Flere

$500 AUD in 7 dage
(78 bedømmelser)
(13 bedømmelser)

Hi, I make sure I can complete this project as I have worked on many web projects very similar to this one before. I have 10+ years of experience in web development and I am familiar with Node.js and MongoDB. I`d like Flere

$500 AUD in 7 dage
(13 bedømmelser)
(7 bedømmelser)

Dear Sir/ Ma'am, I am interested in this project as it is exactly within our scope of expertise. As I can see you want someone to update the endpoint - send In voice To Customer, the goal for the API is - once the pa Flere

$750 AUD in 7 dage
(2 bedømmelser)
(1 bedømmelse)

Hello, I am a software developer with over 14 years experience. I am based in Melbourne, Australia. I have expertise working with backend technologies like NodeJs and Spring. I have gone through your requirement and ca Flere

$250 AUD in 7 dage
(13 bedømmelser)

Hi! I’m a JavaScript expert with main focus on React (Redux, Hook, Saga, and Styled components) and Node.js ([login to view URL]). Example: [login to view URL] [login to view URL] http://teamelit Flere

$500 AUD in 7 dage
(1 bedømmelse)

Hi!, I’ve carefully checked your requirements and really interested in this job. I’m developer working at large-scale apps as a lead developer with U.S. and European teams. I’m offering best quality and highest perfo Flere

$250 AUD in 7 dage
(17 bedømmelser)

Dear Hiring Manager, Greeting of the day!! Node expertise!! We are the certified team of full Stack developments, and ready to start job immediately. We summarize all the details and provide you with clear concise n Flere

$444 AUD in 12 dage
(2 bedømmelser)

⭐⭐⭐FULL STACK & API EXPERT⭐⭐⭐ I am a veteran full-stack developer who is well versed in Node.js, API, React, [login to view URL], React Native, Vue.js, WORDPRESS, HTML, CSS, JavaScript, and MySQL, MongoDB. I have build many API Flere

$500 AUD på 1 dag
(5 bedømmelser)

Hi, I am the CTO of a deep tech company and I freelance as a dev to stay in touch with software development. What I bring to the table - is my extensive experience of writing code in a way that it doesn't come to haun Flere

$750 AUD på 1 dag
(1 bedømmelse)

Hi! I have read project details and understand the requirement of project, I have 7+ years of experience in web design, development and custom software development and I have done a lot of projects with client’s full Flere

$480 AUD in 15 dage
(0 bedømmelser)

Hi there! I’ve carefully checked your requirements and really interested in this project of Node API updates. I will do it in a professional way. I have more than 7 year experience with this work. WAITING FOR YOU IN CH Flere

$650 AUD in 12 dage
(0 bedømmelser)

Hello there , Greeting of the day , We are WONDER POINT CREATIVE SOLUTION PVT LTD . we have more than 9 year experience in local as well as global API Integration .we read your proposal carefully . we and our profess Flere

$550 AUD in 7 dage
(0 bedømmelser)