Title: Direct Stripe plugin
Last modified: December 29, 2016

---

# Direct Stripe plugin

 *  Resolved [michaelg1946](https://wordpress.org/support/users/michaelg1946/)
 * (@michaelg1946)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/direct-stripe-plugin/)
 * I am using the Direct Stripe plugin on my WordPress website to integrate with
   Stripe, my payment processor. From Stripe’s customer support staff viewpoint 
   they see by looking at the logs, I’m creating tokens using checkout but no charge
   is being created after this. Since Stripe’s customer support staff can see I’m
   using a WordPress plugin to integrate with Stripe, this is what should then create
   the charge once you have tokenized the card information. So I’m reaching out 
   to you directly about the best way to fully integrate this on my website.

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

 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/direct-stripe-plugin/#post-8601186)
 * Hello [@michaelg1946](https://wordpress.org/support/users/michaelg1946/),
 * The minimum needed to create a charge after setting the api keys in the Direct
   Stripe settings panel are the
    “type” (payment, subscription or donation)
 * and “amount” :
 * – payments => 100 for 1,00 ;
    – subscriptions => plan_id ; – not needed for donations
 * [direct-stripe type=”payment” amount=”500″] would create a charge of 5 (of the
   currency you chose in Direct Stripe settings panel)
 * [direct-stripe type=”donation”] creates a charge of the amount chosen by the 
   visitor
 * [direct-stripe type=”subscription” amount=”myPlanID”] creates a subscription 
   for the plan “myPlanID” previously created in Stripe’s admin panel.
 * After testing the button you can check stripe logs in stripe’s admin panel to
   see if there are any errors.
 * Best regards
    -  This reply was modified 9 years, 4 months ago by [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/).
 *  Thread Starter [michaelg1946](https://wordpress.org/support/users/michaelg1946/)
 * (@michaelg1946)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/direct-stripe-plugin/#post-8603700)
 * Nicolas,
 * Thank you for your quick response. As a layman I don’t know how to incorporate
   your information into the code script I’m using for my payment button that I 
   copied from Stripe’s website. Here it is below:
 * <form action=”/your-server-side-code” method=”POST”><script src=”[https://checkout.stripe.com/checkout.js&#8221](https://checkout.stripe.com/checkout.js&#8221);
   class=”stripe-button” data-key=”pk_live_rgoafnH6DpVUAS3O8L1UTE4Y” data-amount
   =”7900″ data-name=”Investment Enterprises LLC” data-description=”Widget” data-
   image=”[https://stripe.com/img/documentation/checkout/marketplace.png&#8221](https://stripe.com/img/documentation/checkout/marketplace.png&#8221);
   data-locale=”auto”>
    data-zip-code=”true” </script>
 * Any further guidance would be very much appreciated.
 * Best wishes,
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/direct-stripe-plugin/#post-8604449)
 * Hello [@michaelg1946](https://wordpress.org/support/users/michaelg1946/),
 * In order to add a Stripe’s payment button in your WordPress website here are 
   the first steps :
 * 1 – Connect to your Stripe’s admin panel and find the API keys under –> Account
   settings –> API keys
 * 2- Copy / Paste corresponding API keys to your WordPress admin panel under –>
   Direct Stripe –> Settings
 * 3- Check the options under the direct Stripe settings panel and choose at your
   convenience (currency, fallback pages, styles…)
 * 4- Add a shortcode in a post or page as explained before ( for ex the minimum
   needed would be [direct-stripe type=”payment” amount=”500″] )
 * DONE
 * I suggest you check the Test api keys option in the settings panel and test a
   few transactions with the visa card number 4242 4242 4242 4242.
    You will see
   the transaction in Direct Stripe’s logs in your WordPress admin panel and in 
   Stripe admin panel with the test environment enabled.
 * Best wishes,
 *  [kimwright](https://wordpress.org/support/users/kimwright/)
 * (@kimwright)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/direct-stripe-plugin/#post-8898339)
 * Hi,
 * Can I ask please where do you put the info [direct-stripe type=”payment” amount
   =”500″]
    because if I just add it to its own page it doesn’t do anything and 
   I still don’t get the amount they are paying when the modal form pops up?
 * Thanks

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

The topic ‘Direct Stripe plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/direct-stripe_7787ff.svg)
 * [Direct Stripe](https://wordpress.org/plugins/direct-stripe/)
 * [Support Threads](https://wordpress.org/support/plugin/direct-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/direct-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/direct-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/direct-stripe/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [kimwright](https://wordpress.org/support/users/kimwright/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/direct-stripe-plugin/#post-8898339)
 * Status: resolved