AMAL BABU
AMAL BABU

Reputation: 9

PayPal custom form for payment instead of default popup window

I'm new to PayPal I would like to implement a custom form to accept credit/debit card details and so users can complete the payment process (Instead of using the PayPal popup window). Is it possible? Custom form to enter credit/debit card details will be like this, Custom form to recieve card details

if it is not possible, can I insert the billing address automatically from my custom form instead of asking it in the PayPal popup window...

paypal default popup window

Thanks in advance.

Upvotes: 0

Views: 536

Answers (1)

Preston PHX
Preston PHX

Reputation: 30379

A regular standard payments integration will give the option to either Pay with PayPal in a popup, or pay with a Debit or Credit Card on your site, using the black button. You can see a code demo here. (Venmo is there for demo purposes and only shown if you &enable-funding=venmo on the SDK line, but in any case any extra button you don't want can be disabled)

As far as required billing information, if the transaction is set up to not collect shipping information (orders create request body -> application_context -> shipping_preference -> NO_SHIPPING) , then in that case only a zip code may be required, but this can depend on the country of the payer.

Upvotes: 1

Related Questions