PayPal integration
-
Hi Chris,
Offsite payments and a Paypal gateway are two different entities. Have you also viewed our Paypal gateway guide: https://docs.spreedly.com/payment-gateways/paypal/
Using the offsite flow would allow you to offer Paypal as a payment method, so whichever method a customer has linked in their Paypal account should be available for use in that flow.
-
Hi Brianne,
Thanks for getting back to me. So my question is basically related to the off-site payment flow.
What is not clear in your documentation is whether an offsite payment can be initiated without requiring the user to enter their card details.
I'm referencing your off-site payments guide here: https://docs.spreedly.com/guides/offsite-payments/
The example on this page shows a payment HTML form being POST'ed to a spreedly endpoint. The form contains credit card fields, and I'm not clear on why this is necessary?
https://docs.spreedly.com/guides/offsite-payments/#payment-form
My confusion is that the normal flow of an off-site payment is that the user selects the preferred payment method after they arrive at the off-site payment provider.
Does this form need to be a HTML form? Or can it be a direct API request?
The rest of the off-site flow is easy to follow, and the API methods are well documented.
Thanks,
Chris
-
Hi Brianne,
I'm just following up on my original question..
Through trial and error I've established that the credit card payment fields are not required to initiate an off-site payment.
The documentation was very misleading on this, and I my integration process would've been much smoother if this was explained in more detail.
Thanks,
Chris
-
Hi Brianne,
I think some more detail on the form that initiates an offsite payment would be particularly useful. In particular which fields are optional, and which fields are required.
As all other actions can be made through the API, an explanation of why a HTML form POST is required for this single action.
Thanks,
Chris
Please sign in to leave a comment.
Comments
5 comments