Digital goods in-context lightbox setup

millzee
Contributor
Contributor

Hi,  

 

i am testing my digital goods site which is basically a web application (html5) that allows our members to unlock certain elements of the application based on what they requirements.

 

TO fascilitate the moneytisation i have decided to test paypal with digital goods so the user does not dissapear from the app when they want to purchase addons.

 

I have create a test page with a single button that loads the lightbox up with paypal fine, and in the page I have 

 

<script>

var dg = new PAYPAL.apps.DGFlow(
{
trigger: 'paypal_submit',
expType: 'Instant'
//PayPal will decide the experience type for the buyer based on his/her 'Remember me on your computer' option.
});

</script>

 

my button id is "paypal_submit" and it triggers the lightbox fine.

 

My question is how do i manage multiple buttons?

 

if i have buttons with id's of "SE01", "SE02", "SE03" etc then how do i  ensure they all use the lightbox?  can i have multiple triggers?

 

any help is good thanks

 

 

 

Login to Me Too
1 REPLY 1

millzee
Contributor
Contributor

I suspect this forum is dead

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.