Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sue Taylor 21 posts 102 karma points
    Dec 22, 2021 @ 16:59
    Sue Taylor
    0

    Can the Vendr Stripe Payment Provider be used with an embedded Stripe payment form

    Hi I have been doing a prototype with the Vendr Stripe Payment Provider package and have this working. The only issue is the payment form navigates the user away to the Stripe hosted checkout page https://checkout.stripe.com/pay and then returns to the site,

    Is there any way I can use this provider and use the Stripe embedded payment form on my own page? Would I have to create a custom payment provider to achieve this? Thanks

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Dec 23, 2021 @ 10:00
    Matt Brailsford
    0

    Hi Sue,

    All of the OOTB Vendr Payment providers use a hosted checkout form. We do this for ease of implementation (there are no additional setup steps for you to implement) and also to ensure all security measurements are handled by the payment gateway as inline checkout forms require additional steps from the implementor to ensure the forms are kept secure.

    It is possible however to write your own payment providers so you could write an embedded Stripe provider, using much of the code that is already in the official provider, but you'll need to make it redirect to a local page containing the embedded form rather than the payment gateway.

    The old Tea Commerce provider used to be inline so you could maybe also use that as inspiration as the provider pattern is very similar https://github.com/TeaCommerce/Tea-Commerce-Payment-Providers/tree/master/Source/TeaCommerce.PaymentProviders.Stripe

    Hope this helps

    Matt

  • Sue Taylor 21 posts 102 karma points
    Dec 23, 2021 @ 13:41
    Sue Taylor
    0

    Thanks so much. Actually I found a similar discussion here : https://github.com/vendrhub/vendr-payment-provider-stripe/issues/5

    Thanks for the TeaCommerce code, much appreicated Sue

Please Sign in or register to post replies

Write your reply to:

Draft