paypal-sandbox

Android In-App-Purchase, how to check if user have purchased one item

笑着哭i 提交于 2019-11-29 18:18:24
问题 is that OK and safe to set a value in SharedPreference to flag that the user have purchased this item? What if user hack this value in SharedPreference. Or I need to connect IAP service everytime to check that before user can use it? (1) What is the best practice when I use Google Android IAP V3? (2) And also if user's device have no Google Play installed, I may want to use paypal to make the payment, but how to track the purchase and unlock the features for users if I ask user to use simple

Paypal Sandbox Business Account not credited and Buyer is not debited

╄→尐↘猪︶ㄣ 提交于 2019-11-29 17:00:55
I made a DoExpressCheckoutPayment call with following detail and success.[Of course the call is made after the successful SetExpressCheckout call] METHOD=DoExpressCheckoutPayment& VERSION=93& PWD=MyPassword& USER=User& SIGNATURE=Signature& PAYMENTREQUEST_0_PAYMENTACTION=Order& PAYMENTREQUEST_0_AMT=85.0& PAYMENTREQUEST_0_CURRENCYCODE=USD& IPADDRESS=localhost& BUTTONSOURCE=PP-ECWizard The Response details from above call PAYMENTINFO_0_REASONCODE=None, PAYMENTINFO_0_TAXAMT=0.00, PAYMENTINFO_0_ERRORCODE=0, PAYMENTINFO_0_SECUREMERCHANTACCOUNTID=AHYPGLSVNYNYC, BUILD=6118442, PAYMENTINFO_0

Rails with Paypal Permissions and Paypal Express Checkout

僤鯓⒐⒋嵵緔 提交于 2019-11-29 15:15:27
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 use the tokens to invoke a call for Express Checkout. I have the following codes @api = PayPal::SDK:

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

≯℡__Kan透↙ 提交于 2019-11-29 15:00:44
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 <?php // 1. Autoload the SDK Package. This will include all the files and classes to your autoloader //

Paypal BuyNow - GET instead of POST with params for returnUrl

南楼画角 提交于 2019-11-29 14:57:39
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 type="hidden" name="item_name" value="MyProductName"> <input type="hidden" name="amount" value="1.00">

Testing recurring payments in the Paypal sandbox

纵然是瞬间 提交于 2019-11-29 10:56:38
I've read this post, and this one , and I didn't find my solution. I'm trying to test the recurring payments using the Paypal Standard payment system. The problem is that the minumum frequency period for recurring payments is 1 day (1D). And this is a too long time to test correctly. I read this article saying that if you setup the period to 1D in the sandbox, the call to the IPN is done each minute, but I was unable to make it work. Do you know any way to have full control to test the recurring payments? PP_MTS_Chad One day is the shortest timeframe you can set. You used to be able to test

Why is the Paypal Sandbox not processing payments?

 ̄綄美尐妖づ 提交于 2019-11-29 10:44:50
I'm making an e-commerce site and the paypal integration is seemingly working. I have a shopping cart, that totals up all the items inside, adds the shipping price and then sends that number off to paypal with these lines. string address = "https://api-3t.sandbox.paypal.com/nvp?USER=<username>&PWD=<password>&VERSION=71.0&SIGNATURE=<signature>&METHOD=SetExpressCheckout&PAYMENTREQUEST_0_AMT=" + lblTotal.Text + "&PAYMENTREQUEST_0_CURRENCYCODE=USD&RETURNURL=http://www.secretskeletonminiatures.com/checkout.aspx&CANCELURL=http://www.secretskeletonminiatures.com/cart.aspx&PAYMENTREQUEST_0

Can I test paypal api's from localhost

戏子无情 提交于 2019-11-29 00:48:32
问题 UPDATE 1: According to this tutorial on Using PayPal's Instant Payment Notification with PHP, PayPal cannot access locally hosted websites unless certain router ports are opened. Is this because the website is about IPN or is this true for all PayPal APIs? ORIGINAL QUESTION: On my laptop, I have a LAMP environment setup, when I use the http://localhost to create website before going live. For a new project, I need to use the PayPal APIs. Will I be able to use the localhost to test the PayPal

Can't create app for paypal REST API

此生再无相见时 提交于 2019-11-28 23:26:54
I've signed in to the developer website but when I go to the apps page to create my app I see the following error message: Problem creating sandbox facilitator account [Error code: 2001] When I look on the sandbox accounts page I see there is a facilitator account there (xxx-facilitator@xxxx.xxx) When I click the "create app" button the "sandbox developer account" dropdown is empty and when I try to create an app I get the following error message: We’re sorry, but something went wrong while creating the application. Please try again. So far I've: created new sandbox users submitted a query to

How to configure paypal sandbox auto return URL?

∥☆過路亽.° 提交于 2019-11-28 17:34:03
问题 I am using ubercart module in Drupal , and I need help to configure return URL from PayPal sandbox . I tried creating business account in https://developer.paypal.com/webapps/developer/dashboard , but that also is not working. 回答1: When you say you're unable to create a Business account what error are you receiving or are you unable to login? Please provide more details on this and feel free to contact me via the details in my profile. Here are the steps to enable Auto Return in your test