pay
titterid
pal.pal.payment.get(pid, (e,p)=>cl(p.transactions) )pal
pal.payment.get(pid,fun)pal
items arr - requires 3 item objects: currency, quantity, pricepal
"transactions": [{"item_list": {"items": [{"name": "item","sku": "item","price": "1.00","currency": "USD","quantity": 1}]pal
xhr.open("PUT", loc+"/rls", false);xhr.open("PUT", loc+"/rls", false);rpay
data-sig ex phprpay
lite js scriptrpay
sdk payment get.jspal
paypal sdk uses billing plan < subscriptionpal
charge modelspal
payment_definition objpal
sub > billing planpal
paypal node sdk - subpal
'Item amount must add up to specified amount subtotal (or total if amount details not specified)' pal
Authorization: `Bearer ${ auth.access_token }`pal
checkout-server-sdkpal
onApprove: function(dat, actions) { console.log(dat)}pal
checkout; onApprove -> actions.order.capture().then(function(det) {}pal
pal
token checkout: "token": {"wallet_id": "default","type": "recurring",}paidy
checkout for tokenspaidy
get-an-access-tokenpal
test cardpayjp
{ 'payjp-token': 'tok_e6954652205567746083d45be816' }payjp
checkoutpayjp
sample tokenpayjp
cardtokenpayjp
INTERNAL_SERVICE_ERRORerr
create payment - paypal pluspal
node shop/aid/clo.js - close paymentpaidy
age .post('https://api.paidy.com/payments/'+allpid[i].pid+"/close")paidy
parseInt(item[i].price).toLocaleString()+"円pal
if status:closed && if(!capture) == cancelledpaidy
.set("Content-Type", "application/json")paidy
never put next() in goPal()!!!!pal
paypal.payment.create(mypal, function(err, pay) { if (err) { console.log(err.response.name); })pal
if (pay.links[i].rel === 'approval_url') { res.redirect(pay.links[i].href.replace(' =', '='));}pal
paidy merch accountpaidy
var args = { headers:{ "Content-Type": "application/json" }, headers:{"Paidy-Version": "2016-07-01"}};paidy
client.get("https://api.paidy.com/payments/"+pid", args, function (dat, res) {}paidy
buyer obj: successful.payment@paidy.compaidy
sandbox accountssandbox
paypal help centerissue
settings -> processing -> paypalbt
mobile-sdk - iosios
test card value - quick startbt
bt exp exabt
bt + expressbt
bt quick startbt