paypal

Secure PayPal Checkout Client-side?

只愿长相守 提交于 2021-01-28 17:47:31
问题 With paypal's client side checkout they claim you can simply drop their code onto your site (front end). However, from this example it looks like a user could modify the amount requested because the code is on the client ("Never trust the client"). Is it Possible to secure this or is server side code necessary? Code straight from demo <!DOCTYPE html> <head> <!-- Add meta tags for mobile and IE --> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="X-UA

Anyone who have used Paypal connect integration? Paypal connect, that is used to get Client or customer information?

旧时模样 提交于 2021-01-28 14:01:17
问题 I want to Use Paypal Connect API using Connect With PayPal Integrate https://developer.paypal.com/docs/connect-with-paypal/integrate/ Anyone who has done it before because I am having such errors. I have integrate this Successfully till 5th step, but here in 6th step I cant hit API successfully This is my request: Method: POST, RequestUri: 'https://api.sandbox.paypal.com/v1/oauth2/token?grant_type=authorization_code&code={CodeProvided}', Version: 1.1, Content: , Headers: { Authorization:

Can't update database after PayPal transaction in CodeIgniter 4

喜你入骨 提交于 2021-01-28 12:25:41
问题 I integrating PayPal in Codeigniter 4 but I can't get data after the transaction for an updated database What I want to do is to get a PayPal response from the IPN listener so that I can modify my database accordingly, but no matter what I do, it just won't work. I have already done the following in my PayPal Sandbox account: Enabled Auto Return Set Auto Return URL ('dashboard') Enabled Payment Data Transfer (PDT) Enabled IPN message reception Set IPN URL ('http:myDomain/Controller/index')

Can't update database after PayPal transaction in CodeIgniter 4

感情迁移 提交于 2021-01-28 12:18:49
问题 I integrating PayPal in Codeigniter 4 but I can't get data after the transaction for an updated database What I want to do is to get a PayPal response from the IPN listener so that I can modify my database accordingly, but no matter what I do, it just won't work. I have already done the following in my PayPal Sandbox account: Enabled Auto Return Set Auto Return URL ('dashboard') Enabled Payment Data Transfer (PDT) Enabled IPN message reception Set IPN URL ('http:myDomain/Controller/index')

PayPal Server SDK: how to approve an order ID

限于喜欢 提交于 2021-01-28 10:12:18
问题 I was trying to implement paypal api for one of my projects I am using sandbox environment and server side sdk In the request i have { "intent": "CAPTURE", "application_context": { "brand_name": "EXAMPLE INC", "landing_page": "BILLING", "shipping_preference": "SET_PROVIDED_ADDRESS", "user_action": "PAY_NOW" }, i.e "intent": "CAPTURE" "user_action": "PAY_NOW" I created an order using the api OrdersCreateRequest(). In the response i get the result.id = "IDVALUE" result.status = "CREATED" and

Paypal Express Checkout window keeps loading

南楼画角 提交于 2021-01-28 05:20:48
问题 I'm trying to integrate the PayPal button to execute a simple payment to a new Paypal account I just created. Following the guide I rendered the button, but when I click on it and the new window shows up, nothing happens. The "loading lock" keeps spinning, but no errors are shown in the new window, nor in my page. No calls to "onError()" function are executed. I don't know what's wrong! I followed the instruction of the guide! Navigating other websites I saw that in the new window, while

Paypal Checkout - don't ask for delivery address for non-members?

て烟熏妆下的殇ゞ 提交于 2021-01-28 03:47:48
问题 I've just started playing with this module: https://github.com/paypal/paypal-checkout I'm trying to work out how to can turn off the shipping address for clients. I know in order versions you could do &NOSHIPPING=1 in the URL, but I can't find anything about the API 4 version. My code is: paypal.Button.render({ // Pass the client ids to use to create your transaction on sandbox and production environments locale: 'fr_FR', //env: 'production', env: 'sandbox', client: { sandbox: "...",

Cross-Origin Request Blocked when requesting Paypal sandbox but a different localhost port works fine

匆匆过客 提交于 2021-01-28 00:47:37
问题 I'm having trouble understanding why I'm getting a Cross-Origin Request Blocked error when trying to send a user in my app to a sandbox.paypal.com payment page when ordering a product. The frontend of my app (with React) uses localhost port 3000 while the backend uses localhost port 4000. The communication between the two ports when performing CRUD operations works as intended. But now that I'm introducing paypal into the mix the app doesn't go to the sandbox paypal page when trying to order

Which API will allow me to save PayPal as a reusable payment type

末鹿安然 提交于 2021-01-27 23:31:40
问题 I am currently working on a project to implement PayPal as a reusable payment option similar to a saved credit card. I have seen this done on websites like http://www.fab.com which allows users to sign into PayPal one time, and then stores their payment information for future purchases. Looking over the different APIs, I am not sure which one fits this description. Just to clarify, I do not wish to use PayPal to capture credit card information, I only want to authorize the "Default Payment

How to integrate Paypal using React Native expo?

喜夏-厌秋 提交于 2021-01-27 18:04:11
问题 I am unable to integrate Paypal using React Native expo. It can be possible using WebView, but I don't want to use WebView. 回答1: Seams like your out of luck (Source ), however there is a topic on the roadmap you can upvote ( link ) Another solution that might work if you are willig to make the payment with paypal through google you could implement in app purchases (https://docs.expo.io/versions/latest/sdk/in-app-purchases/) they support paypal purchases ( source ) im not sure if this works