Title: Using Navigation Item As Simple Payment Button
Last modified: September 20, 2019

---

# Using Navigation Item As Simple Payment Button

 *  [pihish](https://wordpress.org/support/users/pihish/)
 * (@pihish)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/)
 * Is there any way to use a native navigation item (Appearance->Menus) as the element
   that once clicked brings up the payment form?
 * I’ve read the article at [https://s-plugins.com/creating-simple-payment-button-without-product-details/](https://s-plugins.com/creating-simple-payment-button-without-product-details/)
   that mentions adding `[asp_product id="487" fancy="0"]` to create a button which
   once clicked would bring up the payment form.
 * I would like to do the same thing with a menu item.

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

 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11954297)
 * This is not possible directly, but you can do a dirty trick which would partially
   do what you want. There is undocumented feature which you can use to evoke payment
   popup by accessing an URL. It looks like this:
 * `https://{your_website_url}/?asp_action=show_pp&product_id={your_product_id}`
 * Example: [https://example.com/?asp_action=show_pp&product_id=123](https://example.com/?asp_action=show_pp&product_id=123)
 * When clicked, it would redirect you to a payment popup on separate page. So you
   just put this URL to your menu and this should do it. But, like I said, only 
   partially, as payment popup would be displayed on new page, not the one your 
   customer is on.
 *  Thread Starter [pihish](https://wordpress.org/support/users/pihish/)
 * (@pihish)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955654)
 * I don’t have a product associated with the payment functionality. No matter what
   value I put in for the `product_id`URL parameter, I get a `Can't find product
   with ID X` response. I tried adding the **fancy** parameter to the URL so that
   it looks something like:
 * `https://mysite.com/?asp_action=show_pp&product_id=0&fancy=0`
 * but still getting the same error.
 * How do I get this to work without an underlying product?
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955666)
 * It will only work with a product. No other parameters should be added to the 
   URL except those I posted in my previous post.
 * Also, if you’re able to specify CSS class for your menu item, there is another
   experimental method how to achieve what you want. But it would require a product
   as well. Let me know.
 *  Thread Starter [pihish](https://wordpress.org/support/users/pihish/)
 * (@pihish)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955701)
 * I was able to get the pop-up to appear using the nav link, but it seems like 
   the credit / debit card input element is in read-only / disabled mode no matter
   what. I tried filling out the amount, name, and e-mail fields, but the card input
   element is disabled and so is the pay button.
 * Any idea what might be causing this?
 *  Thread Starter [pihish](https://wordpress.org/support/users/pihish/)
 * (@pihish)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955705)
 * I looked at the element using devtools and it looks like the credit card input
   isn’t an actual input, but a div
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955714)
 * Would be good if you can send a link to the page so I could have a look with 
   my own eyes.
 *  Thread Starter [pihish](https://wordpress.org/support/users/pihish/)
 * (@pihish)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955717)
 * NA
    -  This reply was modified 6 years, 7 months ago by [pihish](https://wordpress.org/support/users/pihish/).
 *  Thread Starter [pihish](https://wordpress.org/support/users/pihish/)
 * (@pihish)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955718)
 * I just tried posting a link, but it looks like the forum blocks them. Can I shoot
   it to you through e-mail?
 *  Plugin Contributor [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955721)
 * Please do through the contact form on the site.
 *  Thread Starter [pihish](https://wordpress.org/support/users/pihish/)
 * (@pihish)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955730)
 * K, just sent it

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

The topic ‘Using Navigation Item As Simple Payment Button’ is closed to new replies.

 * ![](https://ps.w.org/stripe-payments/assets/icon-128x128.png?rev=2705524)
 * [Accept Stripe Payments](https://wordpress.org/plugins/stripe-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe-payments/reviews/)

## Tags

 * [navigation](https://wordpress.org/support/topic-tag/navigation/)

 * 10 replies
 * 2 participants
 * Last reply from: [pihish](https://wordpress.org/support/users/pihish/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/using-navigation-item-as-simple-payment-button/#post-11955730)
 * Status: not resolved