paypal-sandbox

Is it possible to pass the amount back to my site

。_饼干妹妹 提交于 2019-12-12 00:28:56
问题 I am new to developer.paypal.com and i am creating a subscribe button in www.sandbox.paypal.com,is it possible to pass back the amount paid for the subscription by the customer to my website or the details that have been made in www.sandbox.paypal.com?if it is, can you show me some example on how to do this. after i tried the subscription button this are the value returned i could not find some value in the link that you provided.or the subscription variable how can i show them up? I could

paypal transaction history creates an extra recurring payment

我的梦境 提交于 2019-12-12 00:27:30
问题 I'm using the paypal recurring gem: https://github.com/fnando/paypal-recurring for a ruby on rails application Here's a selected portion of my code: def make_recurring process :request_payment if @plan create_units process :create_recurring_profile, period: @plan.recurring, amount: (@plan.price), frequency: 1, start_at: Time.zone.now end end def process(action, options={}) not_recurring_amount = @cart.total_price not_recurring_amount += 19.95 if @plan #add activation price for first payment

PayPal Rest API - End Point Used

佐手、 提交于 2019-12-12 00:05:44
问题 In my Dev environment, I can correctly use the Rest API to the sandbox site: $sdkConfig = array( "mode" => 'sandbox' ); $cred = new OAuthTokenCredential( $SANDBOX_clientId, $SANDBOX_clientSecret ); $access_token = $cred->getAccessToken($sdkConfig); When using the same code with Live Keys and a verified Live account: $sdkConfig = array( "mode" => 'live' ); $cred = new OAuthTokenCredential( $LIVE_clientId, $LIVE_clientSecret ); $access_token = $cred->getAccessToken($sdkConfig); I get this error

ActiveMerchant: Buyer Account Balance Doesn't Decrease

廉价感情. 提交于 2019-12-11 23:32:42
问题 I'm using ActiveMerchant gem with Ruby 1.9.3 and Rails 3.1 I already set up a buyer dummy account and a seller dummy account on PayPal using WebPayments Pro. When I run this script and look in my paypal sandbox, my seller account is deposited $10 in funds correctly. The problem is that when I look at the sandbox for my buyer account, the balance does not decrease. Where is my seller getting the money from? My code is here: require "rubygems" require "active_merchant" ActiveMerchant::Billing:

PayPal RestApiSDK .NET http 503 Server Unavailable

不羁的心 提交于 2019-12-11 20:29:09
问题 I am trying to use the PayPal .NET RestApiSDK to store credit cards and take payments in their sandbox. I am using .NET 4.5 in an MVC project. I followed the example code here: https://developer.paypal.com/webapps/developer/docs/api/#store-a-credit-card Initially, things were very easy. On day one, I was able to: -take several payments -store several cards -look up sales -refund sales -store cards in the vault (basically, everything in their example code) Ever since day one (about a week), I

Paypal payment with only credit card without creating account

寵の児 提交于 2019-12-11 19:19:09
问题 I built an PayPal HTML button on Paypal site with some details about the item. After clicking on the pay button the client redirected to paypal secure page <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top" class="payPalBtn"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="AEYPTR4G22C"> <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> There I have

Paypal Sandbox IPN - Not getting VERIFIED response

雨燕双飞 提交于 2019-12-11 19:07:03
问题 I hate asking a question which seems to have been asked many times before but from reading many posts I can't seem to figure out why I'm not getting the "VERIFIED" message back from paypal sandbox, I'm at this now several hours now and am not getting any further. I email the result of the verify call to paypal, below is what it says, but no "VERIFIED", I'm testing using the IPN Simulator https://developer.paypal.com/webapps/developer/applications/ipn_simulator HTTP/1.0 302 Found Location:

Paypal Javascript Button data-notify-url Instant Payment Notification

大兔子大兔子 提交于 2019-12-11 18:04:49
问题 Can we use data-notify-url attribute to received IPN? script(src='paypal-button.min.js?merchant=username@email.com', data-button='buynow', data-name='My product', data-amount='1.00', data-env='sandbox', data-notify_url='http://example.com/ipn') The payment was successful but it seems specified notify_url wasn't called. I also used Instant Payment Notification (IPN) simulator and enter my notify_url but encountered the error below: IPN Delivery Failed:503 Service Unavailable But looking at the

PayPal Sandbox returning Internal Service Error

前提是你 提交于 2019-12-11 16:28:31
问题 I am trying to use the PayPal Sandbox for testing automated credit card processing, but running into an issue. When I charge in the amount of $105 I get an INTERNAL_SERVICE_ERROR with a debug id of de753957a889d . If I go back and change the amount to something else like $115 for instance, the charge goes through as expected. I have tried several different amounts and $105 seems to be the only one that give me an error. Here are the lines from the log file: 2013-08-27 12:45:36,570 [10] DEBUG

Paypal integration - GetExpressCheckout

家住魔仙堡 提交于 2019-12-11 16:19:53
问题 I'm working on PayPal integration (Express Checkout) using SOAP API. After DoExpressCheckout call I call GetExpressCheckoutDetails. In docs I found that the checkout status can be one of the following PaymentActionNotInitiated PaymentActionFailed PaymentActionInProgress PaymentCompleted But docs do not actually say what does each of them mean. I understand all but PaymentActionInProgress - how do I handle it? Does it mean that I'll receive IPN call from PayPal when it's completed? Also, can I