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

ECE - Misleading line item payment details for subscriptions with signup fee and a free triel #9799

Open
Tracked by #9983
pierorocca opened this issue Nov 25, 2024 · 4 comments
Labels
focus: checkout payments priority: medium The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability status: on hold The issue is currently not prioritized. type: bug The issue is a confirmed bug.

Comments

@pierorocca
Copy link
Contributor

pierorocca commented Nov 25, 2024

Describe the bug

If the merchant enables Apple Pay or Google Pay on the product page, and the product is a subscription product with a free trial, the payment sheet details lacks the information to let the user know that the amount to be charged today is $0.30 (the signup fee) and that the ongoing subscription fee will be $1.00, the frequency of the subscription, and the free trial details.

I suspect this will be true on the cart and checkout pages. We'll also want to check that things like coupons and gift card amount and any other line items in the cart are also passed to the ECE - even for simple products.

Is it possible to use the ECE lineItemsproperty to pass more details related to the simple or variable subscription? And for simple products?

Image

Image

Image

Image

@pierorocca pierorocca added focus: checkout payments type: bug The issue is a confirmed bug. labels Nov 25, 2024
@pierorocca
Copy link
Contributor Author

I wonder if the lack of even tax and shipping is specific to Apple Pay on mobile only?

@pierorocca pierorocca added the priority: medium The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability label Nov 28, 2024
@bborman22
Copy link
Contributor

@cesarcosta99
Copy link
Contributor

Is it possible to use the ECE lineItems property to pass more details related to the simple or variable subscription? And for simple products?

When I confirm the ECE payment I get the following error:

Image

This is similar to what I got in #8152. It shows $1.30, but the actual charge is $0.30 because $1 is the sale price and it will be charged only when trial is over. The only difference here is that the ECE is displayed because of the sign-up fee.

Now, moving on to the payment details. Previously, in the payment request object, we could use the displayItems property where we could add product information that would be displayed in the payment sheet. Now that we're using the elements object, we don't have displayItems or lineItems or something in that direction defined in the docs that we could use.

I've confirmed that by toying with passing displayItems and lineItems to the element and this had no effect in the payment sheet.

All that to say it's not possible to use lineItems, or displayItems, to pass more details to the payment sheet.

@bborman22
Copy link
Contributor

To make the scope on this clear we need to confirm that the following information is visible in the line items:

  • The subscription product line item and its monthly price
  • Start date of the paid subscription
  • Free Trial period if any
  • Other fees, each as individual line items.
  • Total due now

We also discussed the following approach to solving this to avoid some conflicts:

  • Solve cases 4 and 12 from this list
  • Solve the bug listed in case 8 from that list
  • Then tackle the line items being displayed

Context for this discussion: p1733775068224749/1733421522.827699-slack-C01BZUL57SQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: checkout payments priority: medium The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability status: on hold The issue is currently not prioritized. type: bug The issue is a confirmed bug.
Projects
None yet
Development

No branches or pull requests

3 participants