The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Trying to add Stripe here but I don't know the right code.

  • # February 23, 2014 at 11:38 am

    I want this to go to a stripe payment path but ever time I’ve tried it I crashed the site.

    a href=”‘.$payment_path.'” style=”text-decoration:none;padding:5px 5px 5px 5px;” id=”submitbtn” target=”_blank”>Purchase Now ??

    I want to replace .$payment_path file with this:

    [buy-now-form terms=”Test” description=”Seal of Approval” price=”1.00″ return_url=”” cancel_url=”” livemode=”false” sale_notice_emails=”” button=”Purchase Now!” currency=”USD” ]

    It’s on a wordpress platform Any help is appreciated

    []: ‘.$payment_path.’

    # February 24, 2014 at 5:39 pm

    This reply has been reported for inappropriate content.

    You probably want to use a form instead along with <input type="hidden">.

    Once you have that set up, you’ll just collect the $_POST data to populate what you need.

    Even if you’re running WordPress, you can still use PHP super variables.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed