windows 8 - What is the merchant id? -
i'm having issues getting paypal integrated windows 8 app. i'm not sure "merchantid" suppose be, i'm assuming terminology doesn't line on developer portal?
in code sample, execute() returns false without showing prompt:
buynow buynow = new buynow([i've tried several ids found portal]) { usesandbox = true, }; itembuilder itembuilder = new itembuilder(this.product.name); itembuilder.description(this.product.description); itembuilder.name(this.product.name); itembuilder.price((product.saleprice ?? product.price).tostring()); itembuilder.quantity(1); itembuilder.id (this.product.id.tostring()); item item = itembuilder.build(); buynow.additem(item); bool buynowresult = await buynow.execute();
alright, next person. 'merchantid' refers 'merchant account id' found on www.sandbox.paypal.com site under profile -> business info.
i having issues because string entering description long. sure hook error event meaningful error message. buynow object isn't populated error message despite having error property.
buynow.error += (sender, e) => { // e has error };
Comments
Post a Comment