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.
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.
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?
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.
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.
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
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.
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?
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
I was thinking that very same thing. I'll have a go!
Thanks.
Yes, .BeginPaymentForm() is what I needed.
is working on a reply...