paypal-sandbox

Test credit card numbers for use with PayPal sandbox

痴心易碎 提交于 2019-11-28 16:12:49
I'm having trouble testing credit card payments with PayPal's sandbox. When viewing a buyer's sandbox account's profile from within developer.paypal.com, I can see the following credit card details: Although, when using these details on the payment screen, I get the message "We're sorry, we can't complete this payment. Please try another card." I have read in other questions that you should be able to log into a sandbox account, go to add an additional credit card and it should generate some test numbers for you... However, when I do this, all of the fields are blank: I have also tried using

Send Paypal Recurring Payments commands with IPN Simulator

不羁的心 提交于 2019-11-28 15:54:38
I am working with recurring payments (Express Checkout) and I have an IPN listener receiving messages. All is running fine and I have checked several commands, response and VERIFY. But I cannot test IPN with recurring payments because I have not the option in the IPN-Simulator 'Transaction type' selector: How can I receive Recurring Payments IPN commands ? Unfortunately, the IPN simulator doesn't include recurring payments as you've shown. You'll need to setup real profiles and test them in the sandbox, or you can setup your own simulator. Just make a basic HTML form with the action set to

In-Context Checkout: Uncaught SecurityError: Blocked a frame with origin: checkout.js:4734 throws error

随声附和 提交于 2019-11-28 12:52:33
I'm implementing PayPal's In-Context Checkout and am using Advanced In-Context JavaScript settings ( https://developer.paypal.com/docs/classic/express-checkout/in-context/javascript_advanced_settings ) My app is a React app. So I can't use PP API as they suggest it, that is just throw a code between <script> ... </script> tags somewhere in the page under their buttons. My React components have state and data that I need to send to server within PP function calls. So I placed PP code in componentDidMount method. And for some reason PP throws this error: checkout.js:4734 Uncaught SecurityError:

Paypal Adaptive Payment in Java with spring boot

梦想的初衷 提交于 2019-11-28 11:55:23
问题 Hello I am implementing adaptive payment in pay-pal with spring boot. But i am getting an error when i hit api in postman. Error is : com.paypal.exception.MissingCredentialException: No API accounts have been configured in application properties. Please help what i am doing wrong. Here is Service Class package com.AdaptivePayment.Service; import java.io.IOException; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import

PHP Curl Paypal Sandbox

牧云@^-^@ 提交于 2019-11-28 10:08:38
Is it possible to use CURL and Paypal's Developer Sandbox? When I try this code it says in print_r($lines); that I need to login to the Sandbox, how can I make it send my browser cookie? This code is from http://leepeng.blogspot.com/2006/04/standard-paypal-php-integration.html $orderno = $_SESSION["ss_last_orderno"]; $ppAcc = "[SELLER HERE]"; $at = "[AT HERE]"; //PDT Identity Token $url = "https://www.sandbox.paypal.com/cgi-bin/webscr"; //Test //$url = "https://www.paypal.com/cgi-bin/webscr"; //Live $tx = $_REQUEST['tx']; //this value is return by PayPal $cmd = "_notify-synch"; $post = "tx=$tx

Rails with Paypal Permissions and Paypal Express Checkout

耗尽温柔 提交于 2019-11-28 09:15:32
问题 I'm building an application where a user can connect their own Paypal account through Paypal Permissions SDK (https://github.com/paypal/permissions-sdk-ruby). I was able to successfully get permission from the user and was able to store the tokens that were returned from the Paypal Permissions SDK. Now, I am using the following gem for Express Checkout (https://github.com/nov/paypal-express). But the documentation for Paypal Express Checkout on behalf of a user is not clear on how we should

Paypal BuyNow - GET instead of POST with params for returnUrl

五迷三道 提交于 2019-11-28 09:12:55
问题 I´m running into an issue that I detected today. I have the following paypal button config : <form action="https://www.paypal.com/cgi-bin/webscr" method="post" i d="paypalFormId"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="mybusinessID"> <input type="hidden" name="lc" value="DE"> <input type="hidden" name="button_subtype" value="services"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="no_shipping" value="2"> <input

Fatal error: Class 'Paypal\Api\Payer' not found en sdk Paypal

血红的双手。 提交于 2019-11-28 09:01:11
问题 I installed PayPal SDK with composer but my php file CHECKOUT.php the error is: Fatal error: Class 'Paypal\Api\Payer' not found in C:\xampp\htdocs\pagos\checkout.php on line 23 checkout.php: <?php require ("start.php"); use Paypal\Api\Payer; use Paypal\Api\Item; $payer = new Payer(); $payer->setPaymentMethod("paypal"); $item = new Item(); $item->setName($descripcion) ->setCurrency('MXN') ->setQuantity(1) ->setPrice($precio); $itemList = new ItemList(); $itemList->setItems([$item]); start.php

Disable shipping address option in PayPal Express Checkout

人盡茶涼 提交于 2019-11-28 09:00:36
Working with the PayPal API and using the Name-Value Pair Interface PHP source codes from SDKs and Downloads: Simplify Integrations with Downloads and SDKs . My question is similar to " Removing (or prefilling) the address details for PayPal Express Checkout " but I don't want shipping cost/address or anything related about shipping at all. I keep all shipping details on my system (even sometimes shipping doesn't even apply and there is no charge for it) and I just want user to pay through PayPal without shipping address and shipping cost. How can I disable shipping part of checkout? jbx If

PayPal accounts, testing and sandbox

拥有回忆 提交于 2019-11-28 05:16:25
I have a UK PayPal business account. I'm currently developing a website payment system to make payments to this account using Express Checkout. My PHP code thus far is working and I'm able to connect to the sandbox and set and express checkout. Next stage is to redirect the user to the PayPal sandbox to make a test payment. Its at this point that I'm stuck. I can't create a 'personal test' account for using as the 'client' on the PayPal sandbox. I'm trying like this: Visit developer.paypal.com Login Select 'Applications' Select 'sandbox account' Select 'Create Account' Select Country as