We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1193661 commit d04bf1cCopy full SHA for d04bf1c
1 file changed
README.md
@@ -78,6 +78,7 @@ $response =
78
->setCallbackUrl('http://michaelakanji.com') // to override/set callback_url, it can also be set on your dashboard
79
->setEmail( 'matscode@gmail.com' )
80
->setAmount( 75000 ) // amount is treated in Naira while using this method
81
+ ->setMetadata(['custom_field1' => 'value1', 'custom_field2' => 'value2'])
82
->initialize();
83
```
84
If you want to get the 200OK raw Object as it is sent by Paystack, Set the 2nd argument of the `initialize()` to `true`, example below
0 commit comments