- create placeholder DIV
- run:
< script>
paypal
.Legal({
fundingSource: paypal.Legal.FUNDING.PAY_UPON_INVOICE,
})
.render("#paypal-legal-container");
< /script>
Pay upon Invoice via Ratepay
Step 1: Implement Fraudnet
Parse CMID (f) and FlowID (s)
f = aa336cf33c596f7856fec53f703125cb
s = PUITEST_3XW33KVY8B838_wenjucktsf => is subsequently passed as Paypal-Client-Metadata-Id in the request header of Create Order
s => Must be unique per merchant page / domain but other than this flexible
Step 2: Collect Consumer Data
Personal Details
Name: Alois Hinterwald
eMail: ich@paypal.de
Tel: 030 - 12345678
DOB: 11.11.1999
Billing Address
Street: Königstr. 1
City: Berlin
Code: 10419
Country: DE
Shipping Address
Street: Königstr. 1
City: Berlin
Code: 10419
Country: DE
Step 3: Render Button
- Load JSSSDK component "legal"
- create placeholder DIV
- run:< script>
paypal
.Legal({
fundingSource: paypal.Legal.FUNDING.PAY_UPON_INVOICE,
})
.render("#paypal-legal-container");
< /script>
AGB akzeptieren!