Skip to content
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

Problem with taxes and coupon codes follow-up #13 #17

Closed
remcotolsma opened this issue Nov 30, 2023 · 1 comment · Fixed by #18
Closed

Problem with taxes and coupon codes follow-up #13 #17

remcotolsma opened this issue Nov 30, 2023 · 1 comment · Fixed by #18
Assignees

Comments

@remcotolsma
Copy link
Member

From customer to MemberPress support:

I think something goes wrong with the Coupons and the Tax calculation.

I used a Coupon which gives €39 discount on a subscription price of €195. (all including tax).
That is working fine, but with the payment subscription notice and the pdf-invoice something goes wrong.

If someone pays by credit card or Ideal, the payment amount on the subscription notice and the pdf-invoice is €129,93. That should be €156,- (although the correct amount is charged).

I seems that by those subscriptions the amount of €195,- first is reduced with the tax of 21% (which makes €161,16) and then the Couponcode is deducted (which makes €106,55) and then the tax is added: €128,93.

But If someone pays by PayPal direct, the invoice is ok with a payment amount of €156,- on the subscription notice and the pdf-invoice.

See attachments of a payment by Credit card and one by PayPal.

Internal HelpScout ticket: https://secure.helpscout.net/conversation/2436581151/26569

This is issue is probably related to:

@remcotolsma remcotolsma self-assigned this Nov 30, 2023
@remcotolsma remcotolsma moved this from Todo to In Progress in Pronamic Pay Nov 30, 2023
@remcotolsma remcotolsma moved this from Todo to In Progress in Pronamic Pay 9.7 Nov 30, 2023
remcotolsma added a commit that referenced this issue Nov 30, 2023
@remcotolsma remcotolsma linked a pull request Nov 30, 2023 that will close this issue
@remcotolsma
Copy link
Member Author

I think the MeprTransactionsHelper::get_invoice( $memberpress_transaction ); call from https://github.com/pronamic/wp-pronamic-pay-memberpress/pull/15/files partially solved the problem. However, we also need to save the MemberPress transaction for correct amounts in the notice, invoice PDF, etc. @rvdsteege ?

rvdsteege added a commit that referenced this issue Nov 30, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Pronamic Pay Nov 30, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in Pronamic Pay 9.7 Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant