Support » Plugin: Accept Stripe Payments » How to add tip field on go

  • Resolved Foysal Remon

    (@foysalremon)


    Hi,
    Thanks for this amusing plugin I am using right now. I am a developer and on my site I was trying to add a field for tips so that client can give extra tips with mandatory payment. It would be easy for me to do this with stripe api. But on your plugin I could not implement this as your data is prefetched. Is there any option I can add the tips field where I am using [accept_stripe_payment name=”Cool Script” price=”50″ url=”http://example.com/downloads/my-script.zip” button_text=”Buy Now”]

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

    (@mbrsolution)

    Hi, please check the following documentation.

    https://s-plugins.com/custom-field-settings-feature-stripe-payments-plugin/

    Is the above similar to what you are trying to achieve?

    Thank you

    Thread Starter Foysal Remon

    (@foysalremon)

    Kind alike, but there are 2 problem with this.

    1. The total payment amount needed to be changed when add tip by this custom field.
    2. I don’t have any product on site. Use on payment page with shortcode. We take payment on 2 step. First deposit and then the final remaining amount. Tip field not needed on deposit, only needed when paying the remaining.

    So question is,
    * Is there any way I can control showing custom field by shortcode attribute?
    * Is there any way to update the total payment amount on updating tip field?

    Thanks for the support

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for providing more information. I have submitted a message to the developers to investigate further your issue/request.

    Kind regards

    Plugin Author mra13

    (@mra13)

    This plugin cannot do what you require unfortunately.

    Thread Starter Foysal Remon

    (@foysalremon)

    Hi @mbrsolution
    Thanks for your support. For now I have manage to done it by automatic action call on tip amount update. By ajax call I have trigger the action, the action rerun the shortcode on backend by adding the tip amount and then return the result as html and then on ajax success I have replace the old html with new. This idea may help you implement this feature if you plan to.

    Hi @mra13, thanks for your reply.

    With regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to add tip field on go’ is closed to new replies.