Support » Plugin: Accept Stripe Payments » Get form variables from shortcode (not db)

  • wwwilson


    Hi guys,

    Quick question on the shortcode [accept_stripe_payment ...]

    Is there any way to prevent this shortcode creating a new post/meta each time a new form is generated. I have a lot of variations of this shortcode that are dynamically changing and I can see this is filling up the database.

    Instead, is there a way to pull all the required variables from the shortcode directly instead of hitting the database?



Viewing 1 replies (of 1 total)
  • Plugin Contributor Alexander C.



    We had to come to this solution (saving shortcodes as products) to make sure payment process is properly handled and also to avoid code duplication. So to answer your question – no, it’s not possible to avoid database usage here.

    If database size is an issue for you, feel free to delete all posts of asp-products-temp type and their metadata. Those would be re-created from shortcodes when needed.

Viewing 1 replies (of 1 total)
  • The topic ‘Get form variables from shortcode (not db)’ is closed to new replies.