Hey,
I know this topic was talked about a lot, but I kept searching everywhere and couldn’t find the answer I need
So anyway, I’m making a web application and I’m trying to deploy payments using paypal since both braintree and stripe are unsupported in my country,
However I’m not sure how it’s properly done,
I’m trying with the paypal checkout plugin,
at first I want to make sure about the IDs
sandbox client id and live client id are quite obvious,
-dev are for development purposes
but I’m unclear about client id headers, I tried to put the sandbox client id and the buttons showed and worked but Just want to make sure what should I put? and when I deploy the website live should I change it to the live client id?
Second,
when I click the paypal button
A window appears,
but for the credit card button, it loads underneath it which is bugging me because I don’t know either why or how to fix it
like this
Also, the product I’m selling is like online courses, so there are no shipping in any kind, so how can I stop the shipping details from appearing, when clicking either paypal or credit card (especially credit card) because it’s making the process quite longer and for no useful purpose
Last thing, I’m unclear about when to use the get an access token in the workflow, is it when I load the payment page or what?
Thanks in advance, any small help is highly appreciated and I hope this topic can be useful for future bubbleres trying to deploy paypal payment