Support » Plugin: Accept Stripe Payments » How to transfer the post_id in payment done for using product shortcode

  • I want to transfer post_id in the transaction. so I can set the relationship between payment and post on thank you page.

    could you please tell me the we can pass the extra params in hidden fields to thank you page.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for reaching out to us. I have submitted a message to the developers to investigate further your request.

    Thank you

    Plugin Author mra13

    (@mra13)

    I don’t know your use case so I can’t really give a good answer answer. The best option in my opinion is to use the “asp_stripe_payment_completed” action hook of our plugin (this hook is triggered after a successfull payment is processed):

    You can see an example of how to use the hook in the following page:
    https://s-plugins.com/stripe-payments-plugin-action-hooks-reference/

    It will contain many parameters of the transaction including the Product ID. The product ID is the post ID in this case.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to transfer the post_id in payment done for using product shortcode’ is closed to new replies.