I'm using Django PayPal. PayPal has a list of options you can pass on your button. I'm trying to add some of these to my paypal_dict
paypal_dict = {
# ...
# preopulate paypal checkout page
"email": invoice.user.email,
"first_name": invoice.user.first_name,
"last_name": invoice.user.last_name,
"address1": invoice.user.address.street,
"city": invoice.user.address.city,
"country": invoice.user.address.get_country_display,
"address_country_code": invoice.user.address.country
}
form = PayPalPaymentsForm(initial=paypal_dict)
But when I inspect the form, these fields are never added. How can I get them to be added?