PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, November 11, 2022

[FIXED] How to show "Pay with a debit or credit card" button instead of "Checkout as Guest" on PayPal guest payment

 November 11, 2022     payment, payment-gateway, paypal     No comments   

Issue

I have a project with a PayPal integration. On this, I have enabled the 'guest checkout option' in my PayPal account(U.S Account) for customers paying on my website. I need to show the "Pay with Debit or Credit Card" button always when a user opens the PayPal login page. But sometimes it showing the "Checkout as Guest" button instead of the "Pay with Debit or Credit Card" button.

How can I show the "Pay with Debit or Credit Card" button always? Does this have any relation with the browser cookie?


Solution

You cannot control the behavior of the PayPal page. The behavior presented depends on very many factors--including, for example, the location of the buyer or repeated checkout attempts--and so is case by case. Sometimes the option to check out as a guest will not be available, at all.

If you want to always present a debit or credit card option, you should follow the Set up standard payments guide, which gives a black 'Debit or Credit Card' button.


If you have a server backend that can do API calls, then you should create two routes, one for 'Create Order' and one for 'Capture Order' documented here -- and pair your two routes with the server approval flow.



Answered By - Preston PHX
Answer Checked By - Robin (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing