Skip to content

Commit 0d51150

Browse files
committed
Fix OpenSRS auto-renew modify payload
1 parent 822d96d commit 0d51150

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Domains/Registrar/Adapter/OpenSRS.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,8 +597,10 @@ public function updateDomain(string $domain, UpdateDetails $details): bool
597597
}
598598

599599
$attributes = [
600-
'data' => 'auto_renew',
600+
'data' => 'expire_action',
601+
'affect_domains' => 0,
601602
'auto_renew' => $details->autoRenew ? 1 : 0,
603+
'let_expire' => $details->autoRenew ? 0 : 1,
602604
];
603605

604606
$message = [

0 commit comments

Comments
 (0)