Site logo

[Resolved] Generate press + woocommerce & stripe

Home Forums Support [Resolved] Generate press + woocommerce & stripe

Home Forums Support Generate press + woocommerce & stripe

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #697669
    Liberty

    Hello,

    I’m testing my checkout page with generatepress + woocommerce and stripe but the credit card field don’t show (http://prntscr.com/l4bicj).

    I switch theme too twentyseventeen and it work.
    I switch back to generatepress and it don’t work.
    I desactivate all the plugin with generatepress and it don’t work.

    May i assume that the problem come from generatepress ?

    Did someone had the same issue ?

    Thank you

    #697796
    Liberty

    Just found the solution.

    I was hiding the country field with :

    unset($fields[‘billing’][‘billing_country’]);

    And apparently this is mandatory for stripe to get that field for loading the credit card input.

    Hope that will help someone in the futur =)

    #698110
    Tom
    Lead Developer
    Lead Developer

    Glad you got it working. Thanks for sharing the solution 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.