Skip to content

[BUG] Check Stripe Payment Intent charges #2667

@curtismchale

Description

@curtismchale

Issue

Pertinent to Tib refund when looking at the gform_stripe_payment_intent_pre_create hook I noticed that it says to use gform_stripe_session_data instead if you're using Stripe Checkout. I do remember that we made changes so that we used the "new" Stripe field at some point in the last 12 months (maybe longer).

Given that when I check older transactions in the inspector I see transfer_destination = null set instead of the array that should be produced by this code I wonder if the hook is even firing now. Thus, would refunds truly work by pulling funds from the connected account instead of the platform account.

Now even in that older transaction I do see our fee being applied which is added via the same hook.

Tasks

  • test if gform_stripe_payment_intent_pre_create function is firing on a transaction
  • test if gform_stripe_session_data is firing
  • make sure we cover both hooks and add the metadata so that transfer_destination and tranfer_group are being applied properly
  • look at [BUG] Stripe statement descriptor bug #2666 at the same time as it's defined NULL in the payments but we can define it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    To-do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions