Copied to clipboard

Flag this post as spam?

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


  • seanrock 262 posts 483 karma points
    Apr 01, 2021 @ 07:39
    seanrock
    0

    PayPal payment provider documentation

    Hi

    Is there any documentation for the PayPal payment provider that demonstrates how to use it? I see the documentation for installation and configuration, but not how to actually use it.

    Thanks.

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Apr 01, 2021 @ 08:13
    Matt Brailsford
    0

    Hey Sean,

    I'm not sure what you mean by "actually use it"?

    If you haven't done already, you might want to watch Paul Seal who demonstrates it in one of his Vendr series of videos https://www.youtube.com/watch?v=Rtv_gX55Kpg

    Matt

  • seanrock 262 posts 483 karma points
    Apr 01, 2021 @ 09:43
    seanrock
    0

    Hi Matt

    Paul is using the Checkout package. Unfortunately we're not so I have to do it manually. So by actually use it I mean how do I call any methods etc to create the request to send to paypal.

    Thanks.

  • seanrock 262 posts 483 karma points
    Apr 01, 2021 @ 10:12
    seanrock
    0

    Matt

    I'll elaborate a little. Due to the design, specifically the checkout steps, the final page where the payment option is selected is the review page. So I cannot use the BeginPaymentForm(). Unless there is another way I can set the payment option and then jump into whatever BeginPaymentForm() is doing?

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Apr 01, 2021 @ 10:26
    Matt Brailsford
    0

    Ahh, ok, then in that case, you could do something like what we do on the Vendr site where on that final stage, we send you to a page that says "Redirecting to Payment Gateway", which actually what we do on that page is call BeginPaymentForm() and then use javascript to automatically submit it.

    You really do need to find a way to call BeginPaymentForm() as this is the whole point of payment providers to take away the need for you to implement all the payment provider specific code. But to do that, you'll need to use the provided API.

    Hope this helps

    Matt

  • seanrock 262 posts 483 karma points
    Apr 01, 2021 @ 10:29
    seanrock
    0

    I was thinking that very same thing. I'll have a go!

    Thanks.

  • seanrock 262 posts 483 karma points
    Apr 02, 2021 @ 08:17
    seanrock
    1

    Yes, .BeginPaymentForm() is what I needed.

Please Sign in or register to post replies

Write your reply to:

Draft