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

Wrong Form Handle and product info in Craft after syncing orders #350

Open
Sjouwke opened this issue Mar 20, 2023 · 2 comments
Open

Wrong Form Handle and product info in Craft after syncing orders #350

Sjouwke opened this issue Mar 20, 2023 · 2 comments
Assignees

Comments

@Sjouwke
Copy link

Sjouwke commented Mar 20, 2023

Description

After a successful payment, the correct info is sent to Stripe but not to Craft. It's impossible to distinguish which product that has been bought because the 'Default form handle' is being saved to the new order.

Steps to reproduce

  1. Buy product
  2. View correct order data in Stripe

Screenshot 2023-03-20 at 09 23 48

  1. Sync orders in Craft

  2. Go to 'Orders': all newly synced orders all have the same 'form handle' linked to it, even though they where purchased via different payment forms.

Screenshot 2023-03-20 at 09 24 54

Additional info

  • Craft version: Craft Pro 4.3.11
  • PHP version: 8.2.3
  • Database driver & version: MySQL 5.7.41
  • Plugin version: 5.1.1
  • Is SCA and Stripe Checkout enabled?: Yes
@nickdenys
Copy link

+1

@andrelopez andrelopez self-assigned this Apr 17, 2023
@andrelopez
Copy link
Member

Hi @Sjouwke I am thinking of adding an event before creating the synced order, so you can have the info from Stripe and the synced order to determine what payment form is related to the Stripe Payments Order via a custom plugin.

Can this help you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants