I try to put the buyer's address because the buyer has already completed it in an earlier step. When I do, I get Object reference not set to an instance of an object. Is it not possible to do this way?
The last line get the error.
Dim _Item As PayPal.Api.Item Dim _Meas As New PayPal.Api.Measurement Dim Adr As New PayPal.Api.Address
Dim transactionList As List(Of Transaction) = New List(Of Transaction) Dim tran As Transaction = New Transaction() tran.description = "Betalning för Trackday " & _A.ToString tran.amount = amnt tran.item_list = _Items
Dim payr As Payer = New Payer payr.payment_method = "paypal" payr.payer_info.billing_address = Adr