PayPal Express Checkout: Setting logo_image and name using REST API -
paypal's express checkout documentation says can customize checkout using experience api. , when go experience api documentation, see ability set custom name, logo_image, , more.
in our implementation, hiding shipping fields (no_shipping: 1) works - , uses experience api - setting name , logo_image not.
code below. know if there's way set name and/or logo_image?
payment: function(data, actions) { return actions.payment.create({ payment: { transactions: [ { amount: { total: '9.99', currency: 'usd' } } ] }, experience: { name: 'custom name', presentation: { logo_image: 'https://i.imgur.com/customimage.png' }, input_fields: { no_shipping: 1 } } }); },
Comments
Post a Comment