Skip to content

feat: send pdf invoice after buyer payment. #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

Angemichel12
Copy link
Collaborator

What does this PR do?

When buyer finished to pay products and make order. Buyer should get invoice as pdf on email.

How should this be manually tested?

  1. Add products in the cart.
  2. Checkout products and choose payment method to use.
  3. After payment check your email you will receive invoice email attached with pdf.

@@ -0,0 +1,104 @@
import React from "react";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

@Angemichel12 Angemichel12 force-pushed the feat-send-pdf-invoice branch from 9ab5f2a to 6a05a30 Compare July 26, 2024 07:20
@Angemichel12 Angemichel12 force-pushed the feat-send-pdf-invoice branch from 6a05a30 to b8ad48b Compare July 26, 2024 07:35
@@ -0,0 +1,14 @@
import { generateInvoice } from "../services/invoiceService";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parsing error: 'import' and 'export' may appear only with 'sourceType: module'

Copy link

codeclimate bot commented Jul 26, 2024

Code Climate has analyzed commit b8ad48b and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 75.0% (60% is the threshold).

This pull request will bring the total coverage in the repository to 96.4% (0.0% change).

View more on Code Climate.

@cyusasnave cyusasnave self-requested a review July 26, 2024 09:24
@leandreAlly leandreAlly merged commit d71149f into develop Jul 26, 2024
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants