In my stripe payment intent example, My code works fine with amount, currency and payment i can see received in stripe. please check my code below
$paymentIntent = StripePaymentIntent::create([
'amount' => $obj1,
'currency' => 'gbp',
'metadata' => [
'order_id' => $invID,
'name' => $name,
'email' => $email,
],
]);
But i want to add in my create file following fields so it means these variable should transfered to stripe plus recurring payment,
- name
- address
- product title
- and monthly payment option (people who subscribe for monthly payment they would automatically be charged each month. )
can anyone please edit code and update it for me to make it work. I am not good in php coding and stuck from last few days. thanks in advance.