We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1d1158 commit c8d2196Copy full SHA for c8d2196
1 file changed
README.md
@@ -78,8 +78,9 @@ There's even a fancy JavaScript API if you'd like to pragmatically create your b
78
**PAYPAL.apps.ButtonFactory.config**
79
This can be overridden to change the default behavior of the buttons.
80
81
-**PAYPAL.apps.ButtonFactory.create(data, type, parentNode)**
+**PAYPAL.apps.ButtonFactory.create(business, data, type, parentNode)**
82
Creates and returns an HTML element that contains the button code.
83
+> **business** - A string containing either the business ID or the business email
84
> **data** - A JavaScript object containing the button variables
85
> **type** - The button type, e.g. "buynow", "cart", "qr"
86
> **parentNode** - An HTML element to add the newly created button to (Optional)
0 commit comments