Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Thomas Patrick Levy
    @thomasplevy
    I'm using the billing agreements/plans APIs
    Thomas Patrick Levy
    @thomasplevy
    I'm guessing that I can return the subscription ID instead of the agreement token but I can't find anything to definitively state as much
    Andrew Throener
    @trainerbill
    grab one of your ids and return it in the createOrder callback
    paypal.Buttons({
      createBillingAgreement: function() {
       return 'YOURID';
      }
    }).render('#paypal-button-container');
    Thomas Patrick Levy
    @thomasplevy
    okay that's what I was assuming, thanks
    Andrew Throener
    @trainerbill
    im not saying it will work, just giving you an easy way to test it out
    Thomas Patrick Levy
    @thomasplevy
    oh
    well I haven't built the methods to make the subscription yet so I'll give it a test when I get there
    I was hoping to know that it was going to work before I rebuilt the integration to use the new apis
    So there isn't any definitive documentation?
    Andrew Throener
    @trainerbill
    You are going to have to give me what you have, api call wise, and what you are trying to upgrade to.
    Thomas Patrick Levy
    @thomasplevy
    I'm making checkout requests via the createBillingAgrement() method on the paypal.Buttons function, it's making requests to the server where I'm creating a billing agreement and returning it, just like the integration docs at https://developer.paypal.com/docs/checkout/reference/upgrade-integration/#4-set-up-the-transaction say to do
    This all works fine but I just noticed that the billing agreement api requests are noting that this has been deprecated (https://developer.paypal.com/docs/api/payments.billing-agreements/v1/) and I see how to replace this with subscriptions, but the checkout js sdk doesn't seem to indicated how to handle subscriptions/recurring payments with the subscriptions api requests
    It sounds like there isn't an integration upgrade guide
    In which case I'll just keep guessing my way through it and hope it doesn't stop working with no notice
    Andrew Throener
    @trainerbill
    it won't stop. I don't think that subscriptions are in the JavaScript SDK yet.
    Thomas Patrick Levy
    @thomasplevy
    Sorry to be frustrated. Things just keep changing... In Feb I was ready to go with checkout.js and it just completely changed seemingly with no notice so now I have it all ready to go again and I'm hit with another deprecation.
    And my customers literally don't give a damn about one-time payments, they only want recurring, and all the recurring stuff seems neglected
    Andrew Throener
    @trainerbill
    understood. things are changing quickly for sure.
    Dawid Gorczyca
    @dgorczyca
    Thank you @trainerbill, what we are trying to achieve is a simple integration with PayPal payments, nothing fancy for now, we will let PayPal handle all forms of payment with buttons integration. It is a new API I am using indeed, both on the front-end and on the back end. The support team seems to think there was some internal issue as per this comment:
    https://github.com/paypal/Checkout-Java-SDK/issues/16#issuecomment-486023111
    Andrew Throener
    @trainerbill
    @dgorczyca ok. I like using the javascript sdk as much as I can. So my recommendation is to use it and then all you have to do on the server side is verify that the payment amount is correct
    if you have a single page application then you can capture the payment client side. if you don't have an spa you can get to an authorization on the client side then use the server side to do the capture and validation.
    Thomas Patrick Levy
    @thomasplevy
    hey @trainerbill I asked a few weeks ago about using Subscriptions instead of Billing Agreements with the Checkout JS Sdk. It doesn't seem that it's possible to use the new subscriptions API with checkout so do you have any idea when I'll be able to do that? As I noted previously I'm trying to release a new integration that upgrades from the deprecated NVP apis and I don't feel comfortable releasing an upgrade to a deprecated API by replacing that with a deprecated API but I also cannot release an update without subscriptions...
    ossama
    @senbai
    Hey everybody
    i got this error when i'm dealing with paypal payment Uncaught Error: Error: No value passed to payment
    any help Please ?
    Muhaimin CS
    @muhaimincs
    Hi, i’m new to this framework. So I want to have a function inside props where it’ll be available on child and parent don’t have to explicitly specify the function but it will run everytime the child trigger it? What options in zoid I need to make it work
    Kaleem-
    @Kaleem-
    Hi guys I was wondering if anyone had any success with paypal subscriptions with React? I've been trying for a while and the process is awfully confusing
    Thank you :)
    Incubator
    @incube8r
    Hello where can the Sanbox test transaction from Paypal Checkout button be found in the Dashboard?
    Kaleem-
    @Kaleem-
    What do you mean?
    It should be a transaction in the history
    Kaleem-
    @Kaleem-
    Just an update, I managed to get subscriptions to create and be in ACTIVE status in sandbox. But then there is an issue with payment, and it's only occuring when I use paypal checkout. Using the button generator provided it all works perfectly. Anyone got any ideas?
    Aimee Casden
    @AimeeCasden
    Hi. I need help integrating Paypal into my website using react and I am slightly confused. Anyone here to help?
    Jamie Corkhill
    @JamieCorkhill
    Hello. I'm looking to use this with React Native. Is that possible? Thanks.
    @JamieCorkhill no. we have a native sdk releasing in the near future.
    Jamie Corkhill
    @JamieCorkhill
    @trainerbill Thank you. A Native SDK for which platform? Can I build a wrapper for React Native?
    @trainerbill And not to sound impatient, but I need a solution now. Are there any alternatives I can use for the time being? I'm founding a startup and I've got deadlines to adhere to. Thank you. Can I make my own button styles with CSS for now and just make direct calls to the PayPal REST API via some HTTP Client until an SDK is rolled out?
    Andrew Throener
    @trainerbill
    Yeah, you would have to open paypal in a webview to accept the payment. then close it down on your redirect url.
    @JamieCorkhill ^
    Otherwise you can look at Braintree which has a solution for native paypal right now.
    Jamie Corkhill
    @JamieCorkhill
    @trainerbill Than you. Will the Braintree solution include things like Purchase Protection/Return Shipping/Etc.?
    Andrew Throener
    @trainerbill
    yep
    Jan Ryan Felipe
    @ryanskiefelipe
    Anyone encountered an issue where in verifying a signature from a "PAYMENT.SALE.COMPLETED" webhook always returns "FAILURE"?
    All other webhook requests returns "SUCCESS"
    I run real sandbox/live transactions
    I'm using https://github.com/paypal/PayPal-PHP-SDK
    Andrew Throener
    @trainerbill
    @JamieCorkhill yeah webhook verification has had a problem for awhile. can you try manually verifying outside of the SDK? the way some languages are handling numbers and floats is breaking it. https://github.com/paypal/PayPal-PHP-SDK/issues/1107#issuecomment-396785477
    Jan Ryan Felipe
    @ryanskiefelipe
    @trainerbill That solved it. Thanks
    Jamie Corkhill
    @JamieCorkhill
    @trainerbill What that message for me or @ryanskiefelipe ?
    Andrew Throener
    @trainerbill
    sry yeah mixed those up. answer to your question @JamieCorkhill is yes.