Skip to content

Commit c8d2196

Browse files
committed
Updating README
1 parent d1d1158 commit c8d2196

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,9 @@ There's even a fancy JavaScript API if you'd like to pragmatically create your b
7878
**PAYPAL.apps.ButtonFactory.config**
7979
This can be overridden to change the default behavior of the buttons.
8080

81-
**PAYPAL.apps.ButtonFactory.create(data, type, parentNode)**
81+
**PAYPAL.apps.ButtonFactory.create(business, data, type, parentNode)**
8282
Creates and returns an HTML element that contains the button code.
83+
> **business** - A string containing either the business ID or the business email
8384
> **data** - A JavaScript object containing the button variables
8485
> **type** - The button type, e.g. "buynow", "cart", "qr"
8586
> **parentNode** - An HTML element to add the newly created button to (Optional)

0 commit comments

Comments
 (0)