Title: pdickens's Replies | WordPress.org

---

# pdickens

  [  ](https://wordpress.org/support/users/pdickens/)

 *   [Profile](https://wordpress.org/support/users/pdickens/)
 *   [Topics Started](https://wordpress.org/support/users/pdickens/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pdickens/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pdickens/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pdickens/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pdickens/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pdickens/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] GiveWP Funds and Designations Stripe metadata](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/)
 *  Thread Starter [pdickens](https://wordpress.org/support/users/pdickens/)
 * (@pdickens)
 * [4 months ago](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/#post-18778441)
 * Hi Ginger,
 * Just confirming that the new hook `give_stripe_prepare_metadata` works thanks!
 * Also I think I have found a bug. Sometimes when filling out the Billing Information
   the State field disappears (even though the country I am in – Australia – requires
   State information). When this happens there is no feedback to the user (because
   the state field is hidden) which isn’t a great user experience. The user can’t
   progress to the next page in the form as the form is incomplete.
 * Seems to be an issue with the logic that removes the State field for countries
   that don’t require it.
 * Could you please confirm whether or not this is a known bug?
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] GiveWP Funds and Designations Stripe metadata](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/)
 *  Thread Starter [pdickens](https://wordpress.org/support/users/pdickens/)
 * (@pdickens)
 * [4 months ago](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/#post-18777099)
 * Thanks for the new hook – I’ll try with `give_stripe_prepare_metadata` and let
   you know!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] GiveWP Funds and Designations Stripe metadata](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/)
 *  Thread Starter [pdickens](https://wordpress.org/support/users/pdickens/)
 * (@pdickens)
 * [4 months ago](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/#post-18776973)
 * Hi Ginger,
 * Thanks for your reply. Our donation form is [https://ourplacecc.org.au/donate/](https://ourplacecc.org.au/donate/).
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GiveWP - Donation Plugin and Fundraising Platform] GiveWP Funds and Designations Stripe metadata](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/)
 *  Thread Starter [pdickens](https://wordpress.org/support/users/pdickens/)
 * (@pdickens)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/givewp-funds-and-designations-stripe-metadata/#post-18775828)
 * Hi Ginger,
 * Thanks for your response. I think my issue is more general (not related solely
   to the Funds and Designations plugin). I cannot seem to edit the metadata at 
   all.
 * Could you please confirm that this trivial example still works with GiveWP and
   a Stripe integration?
 * I have added this code in WordPress using Code Snippets but the metadata sent
   to the Stripe `/payment_intents` endpoint does not contain the new field.
 *     ```wp-block-code
       function give_stripe_custom_payment_meta( $args ) {    // Example: add custom metadata    $args['metadata']['custom_key'] = 'custom_value';        return $args;}add_filter( 'give_stripe_create_intent_args', 'give_stripe_custom_payment_meta', 10, 2 );
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)