a simple way to get the correct code to use is to create a test page and add an ecart checkout form for paypal payments standard to it.
go to Insert -> eCart -> Checkout Form. Select the remote checkout option, and select Paypal Payments Standard from the checkout type.
This checkout form will have the code you are looking for.